home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-10-28 | 66.5 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 70 73 69 |piled by| rms@psi|
|00000020| 6c 6f 63 69 6e 2e 67 6e | 75 2e 61 69 2e 6d 69 74 |locin.gn|u.ai.mit|
|00000030| 2e 65 64 75 20 6f 6e 20 | 53 75 6e 20 4a 75 6c 20 |.edu on |Sun Jul |
|00000040| 32 38 20 32 31 3a 31 38 | 3a 32 32 20 31 39 39 36 |28 21:18|:22 1996|
|00000050| 0a 3b 3b 3b 20 66 72 6f | 6d 20 66 69 6c 65 20 2f |.;;; fro|m file /|
|00000060| 68 6f 6d 65 2f 66 73 66 | 2f 72 6d 73 2f 65 31 39 |home/fsf|/rms/e19|
|00000070| 2f 6c 69 73 70 2f 66 69 | 6c 65 73 2e 65 6c 0a 3b |/lisp/fi|les.el.;|
|00000080| 3b 3b 20 65 6d 61 63 73 | 20 76 65 72 73 69 6f 6e |;; emacs| version|
|00000090| 20 31 39 2e 33 31 2e 39 | 37 2e 31 2e 0a 3b 3b 3b | 19.31.9|7.1..;;;|
|000000a0| 20 62 79 74 65 63 6f 6d | 70 20 76 65 72 73 69 6f | bytecom|p versio|
|000000b0| 6e 20 46 53 46 20 32 2e | 31 30 0a 3b 3b 3b 20 6f |n FSF 2.|10.;;; o|
|000000c0| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 69 73 20 6f |ptimizat|ion is o|
|000000d0| 6e 2e 0a 3b 3b 3b 20 74 | 68 69 73 20 66 69 6c 65 |n..;;; t|his file|
|000000e0| 20 75 73 65 73 20 6f 70 | 63 6f 64 65 73 20 77 68 | uses op|codes wh|
|000000f0| 69 63 68 20 64 6f 20 6e | 6f 74 20 65 78 69 73 74 |ich do n|ot exist|
|00000100| 20 69 6e 20 45 6d 61 63 | 73 20 31 38 2e 0a 0a 28 | in Emac|s 18...(|
|00000110| 69 66 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |if (and |(boundp |
|00000120| 27 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 29 0a |'emacs-v|ersion).|
|00000130| 09 20 28 6f 72 20 28 61 | 6e 64 20 28 62 6f 75 6e |. (or (a|nd (boun|
|00000140| 64 70 20 27 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |dp 'epoc|h::versi|
|00000150| 6f 6e 29 20 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |on) epoc|h::versi|
|00000160| 6f 6e 29 0a 09 20 20 20 | 20 20 28 73 74 72 69 6e |on).. | (strin|
|00000170| 67 2d 6c 65 73 73 70 20 | 65 6d 61 63 73 2d 76 65 |g-lessp |emacs-ve|
|00000180| 72 73 69 6f 6e 20 22 31 | 39 2e 32 39 22 29 29 29 |rsion "1|9.29")))|
|00000190| 0a 20 20 20 20 28 65 72 | 72 6f 72 20 22 60 66 69 |. (er|ror "`fi|
|000001a0| 6c 65 73 2e 65 6c 27 20 | 77 61 73 20 63 6f 6d 70 |les.el' |was comp|
|000001b0| 69 6c 65 64 20 66 6f 72 | 20 45 6d 61 63 73 20 31 |iled for| Emacs 1|
|000001c0| 39 2e 32 39 20 6f 72 20 | 6c 61 74 65 72 22 29 29 |9.29 or |later"))|
|000001d0| 0a 0a 0a 23 40 37 32 20 | 2a 4e 6f 6e 2d 6e 69 6c |...#@72 |*Non-nil|
|000001e0| 20 6d 65 61 6e 73 20 64 | 65 6c 65 74 65 20 61 75 | means d|elete au|
|000001f0| 74 6f 2d 73 61 76 65 20 | 66 69 6c 65 20 77 68 65 |to-save |file whe|
|00000200| 6e 20 61 20 62 75 66 66 | 65 72 20 69 73 20 73 61 |n a buff|er is sa|
|00000210| 76 65 64 20 6f 72 20 6b | 69 6c 6c 65 64 2e 1f 0a |ved or k|illed...|
|00000220| 28 64 65 66 63 6f 6e 73 | 74 20 64 65 6c 65 74 65 |(defcons|t delete|
|00000230| 2d 61 75 74 6f 2d 73 61 | 76 65 2d 66 69 6c 65 73 |-auto-sa|ve-files|
|00000240| 20 74 20 28 23 24 20 2e | 20 2d 34 37 32 29 29 0a | t (#$ .| -472)).|
|00000250| 23 40 35 34 39 20 2a 41 | 6c 69 73 74 20 6f 66 20 |#@549 *A|list of |
|00000260| 61 62 62 72 65 76 69 61 | 74 69 6f 6e 73 20 66 6f |abbrevia|tions fo|
|00000270| 72 20 66 69 6c 65 20 64 | 69 72 65 63 74 6f 72 69 |r file d|irectori|
|00000280| 65 73 2e 0a 41 20 6c 69 | 73 74 20 6f 66 20 65 6c |es..A li|st of el|
|00000290| 65 6d 65 6e 74 73 20 6f | 66 20 74 68 65 20 66 6f |ements o|f the fo|
|000002a0| 72 6d 20 28 46 52 4f 4d | 20 2e 20 54 4f 29 2c 20 |rm (FROM| . TO), |
|000002b0| 65 61 63 68 20 6d 65 61 | 6e 69 6e 67 20 74 6f 20 |each mea|ning to |
|000002c0| 72 65 70 6c 61 63 65 0a | 46 52 4f 4d 20 77 69 74 |replace.|FROM wit|
|000002d0| 68 20 54 4f 20 77 68 65 | 6e 20 69 74 20 61 70 70 |h TO whe|n it app|
|000002e0| 65 61 72 73 20 69 6e 20 | 61 20 64 69 72 65 63 74 |ears in |a direct|
|000002f0| 6f 72 79 20 6e 61 6d 65 | 2e 20 20 54 68 69 73 20 |ory name|. This |
|00000300| 72 65 70 6c 61 63 65 6d | 65 6e 74 20 69 73 0a 64 |replacem|ent is.d|
|00000310| 6f 6e 65 20 77 68 65 6e | 20 73 65 74 74 69 6e 67 |one when| setting|
|00000320| 20 75 70 20 74 68 65 20 | 64 65 66 61 75 6c 74 20 | up the |default |
|00000330| 64 69 72 65 63 74 6f 72 | 79 20 6f 66 20 61 20 6e |director|y of a n|
|00000340| 65 77 6c 79 20 76 69 73 | 69 74 65 64 20 66 69 6c |ewly vis|ited fil|
|00000350| 65 2e 0a 2a 45 76 65 72 | 79 2a 20 46 52 4f 4d 20 |e..*Ever|y* FROM |
|00000360| 73 74 72 69 6e 67 20 73 | 68 6f 75 6c 64 20 73 74 |string s|hould st|
|00000370| 61 72 74 20 77 69 74 68 | 20 60 5e 27 2e 0a 0a 44 |art with| `^'...D|
|00000380| 6f 20 6e 6f 74 20 75 73 | 65 20 60 7e 27 20 69 6e |o not us|e `~' in|
|00000390| 20 74 68 65 20 54 4f 20 | 73 74 72 69 6e 67 73 2e | the TO |strings.|
|000003a0| 0a 54 68 65 79 20 73 68 | 6f 75 6c 64 20 62 65 20 |.They sh|ould be |
|000003b0| 6f 72 64 69 6e 61 72 79 | 20 61 62 73 6f 6c 75 74 |ordinary| absolut|
|000003c0| 65 20 64 69 72 65 63 74 | 6f 72 79 20 6e 61 6d 65 |e direct|ory name|
|000003d0| 73 2e 0a 0a 55 73 65 20 | 74 68 69 73 20 66 65 61 |s...Use |this fea|
|000003e0| 74 75 72 65 20 77 68 65 | 6e 20 79 6f 75 20 68 61 |ture whe|n you ha|
|000003f0| 76 65 20 64 69 72 65 63 | 74 6f 72 69 65 73 20 77 |ve direc|tories w|
|00000400| 68 69 63 68 20 79 6f 75 | 20 6e 6f 72 6d 61 6c 6c |hich you| normall|
|00000410| 79 20 72 65 66 65 72 20 | 74 6f 0a 76 69 61 20 61 |y refer |to.via a|
|00000420| 62 73 6f 6c 75 74 65 20 | 73 79 6d 62 6f 6c 69 63 |bsolute |symbolic|
|00000430| 20 6c 69 6e 6b 73 2e 20 | 20 4d 61 6b 65 20 54 4f | links. | Make TO|
|00000440| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|00000450| 20 6c 69 6e 6b 2c 20 61 | 6e 64 20 46 52 4f 4d 0a | link, a|nd FROM.|
|00000460| 74 68 65 20 6e 61 6d 65 | 20 69 74 20 69 73 20 6c |the name| it is l|
|00000470| 69 6e 6b 65 64 20 74 6f | 2e 1f 0a 28 64 65 66 63 |inked to|...(defc|
|00000480| 6f 6e 73 74 20 64 69 72 | 65 63 74 6f 72 79 2d 61 |onst dir|ectory-a|
|00000490| 62 62 72 65 76 2d 61 6c | 69 73 74 20 6e 69 6c 20 |bbrev-al|ist nil |
|000004a0| 28 23 24 20 2e 20 2d 35 | 39 38 29 29 0a 23 40 38 |(#$ . -5|98)).#@8|
|000004b0| 31 30 20 2a 4e 6f 6e 2d | 6e 69 6c 20 6d 65 61 6e |10 *Non-|nil mean|
|000004c0| 73 20 6d 61 6b 65 20 61 | 20 62 61 63 6b 75 70 20 |s make a| backup |
|000004d0| 6f 66 20 61 20 66 69 6c | 65 20 74 68 65 20 66 69 |of a fil|e the fi|
|000004e0| 72 73 74 20 74 69 6d 65 | 20 69 74 20 69 73 20 73 |rst time| it is s|
|000004f0| 61 76 65 64 2e 0a 54 68 | 69 73 20 63 61 6e 20 62 |aved..Th|is can b|
|00000500| 65 20 64 6f 6e 65 20 62 | 79 20 72 65 6e 61 6d 69 |e done b|y renami|
|00000510| 6e 67 20 74 68 65 20 66 | 69 6c 65 20 6f 72 20 62 |ng the f|ile or b|
|00000520| 79 20 63 6f 70 79 69 6e | 67 2e 0a 0a 52 65 6e 61 |y copyin|g...Rena|
|00000530| 6d 69 6e 67 20 6d 65 61 | 6e 73 20 74 68 61 74 20 |ming mea|ns that |
|00000540| 45 6d 61 63 73 20 72 65 | 6e 61 6d 65 73 20 74 68 |Emacs re|names th|
|00000550| 65 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |e existi|ng file |
|00000560| 73 6f 20 74 68 61 74 20 | 69 74 20 69 73 20 61 0a |so that |it is a.|
|00000570| 62 61 63 6b 75 70 20 66 | 69 6c 65 2c 20 74 68 65 |backup f|ile, the|
|00000580| 6e 20 77 72 69 74 65 73 | 20 74 68 65 20 62 75 66 |n writes| the buf|
|00000590| 66 65 72 20 69 6e 74 6f | 20 61 20 6e 65 77 20 66 |fer into| a new f|
|000005a0| 69 6c 65 2e 20 20 41 6e | 79 20 6f 74 68 65 72 20 |ile. An|y other |
|000005b0| 6e 61 6d 65 73 0a 74 68 | 61 74 20 74 68 65 20 6f |names.th|at the o|
|000005c0| 6c 64 20 66 69 6c 65 20 | 68 61 64 20 77 69 6c 6c |ld file |had will|
|000005d0| 20 6e 6f 77 20 72 65 66 | 65 72 20 74 6f 20 74 68 | now ref|er to th|
|000005e0| 65 20 62 61 63 6b 75 70 | 20 66 69 6c 65 2e 20 20 |e backup| file. |
|000005f0| 54 68 65 20 6e 65 77 20 | 66 69 6c 65 0a 69 73 20 |The new |file.is |
|00000600| 6f 77 6e 65 64 20 62 79 | 20 79 6f 75 20 61 6e 64 |owned by| you and|
|00000610| 20 69 74 73 20 67 72 6f | 75 70 20 69 73 20 64 65 | its gro|up is de|
|00000620| 66 61 75 6c 74 65 64 2e | 0a 0a 43 6f 70 79 69 6e |faulted.|..Copyin|
|00000630| 67 20 6d 65 61 6e 73 20 | 74 68 61 74 20 45 6d 61 |g means |that Ema|
|00000640| 63 73 20 63 6f 70 69 65 | 73 20 74 68 65 20 65 78 |cs copie|s the ex|
|00000650| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 69 6e 74 6f |isting f|ile into|
|00000660| 20 74 68 65 20 62 61 63 | 6b 75 70 0a 66 69 6c 65 | the bac|kup.file|
|00000670| 2c 20 74 68 65 6e 20 77 | 72 69 74 65 73 20 74 68 |, then w|rites th|
|00000680| 65 20 62 75 66 66 65 72 | 20 6f 6e 20 74 6f 70 20 |e buffer| on top |
|00000690| 6f 66 20 74 68 65 20 65 | 78 69 73 74 69 6e 67 20 |of the e|xisting |
|000006a0| 66 69 6c 65 2e 20 20 41 | 6e 79 20 6f 74 68 65 72 |file. A|ny other|
|000006b0| 0a 6e 61 6d 65 73 20 74 | 68 61 74 20 74 68 65 20 |.names t|hat the |
|000006c0| 6f 6c 64 20 66 69 6c 65 | 20 68 61 64 20 77 69 6c |old file| had wil|
|000006d0| 6c 20 6e 6f 77 20 72 65 | 66 65 72 20 74 6f 20 74 |l now re|fer to t|
|000006e0| 68 65 20 6e 65 77 20 28 | 65 64 69 74 65 64 29 20 |he new (|edited) |
|000006f0| 66 69 6c 65 2e 0a 54 68 | 65 20 66 69 6c 65 27 73 |file..Th|e file's|
|00000700| 20 6f 77 6e 65 72 20 61 | 6e 64 20 67 72 6f 75 70 | owner a|nd group|
|00000710| 20 61 72 65 20 75 6e 63 | 68 61 6e 67 65 64 2e 0a | are unc|hanged..|
|00000720| 0a 54 68 65 20 63 68 6f | 69 63 65 20 6f 66 20 72 |.The cho|ice of r|
|00000730| 65 6e 61 6d 69 6e 67 20 | 6f 72 20 63 6f 70 79 69 |enaming |or copyi|
|00000740| 6e 67 20 69 73 20 63 6f | 6e 74 72 6f 6c 6c 65 64 |ng is co|ntrolled|
|00000750| 20 62 79 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 | by the |variable|
|00000760| 73 0a 60 62 61 63 6b 75 | 70 2d 62 79 2d 63 6f 70 |s.`backu|p-by-cop|
|00000770| 79 69 6e 67 27 2c 20 60 | 62 61 63 6b 75 70 2d 62 |ying', `|backup-b|
|00000780| 79 2d 63 6f 70 79 69 6e | 67 2d 77 68 65 6e 2d 6c |y-copyin|g-when-l|
|00000790| 69 6e 6b 65 64 27 20 61 | 6e 64 0a 60 62 61 63 6b |inked' a|nd.`back|
|000007a0| 75 70 2d 62 79 2d 63 6f | 70 79 69 6e 67 2d 77 68 |up-by-co|pying-wh|
|000007b0| 65 6e 2d 6d 69 73 6d 61 | 74 63 68 27 2e 20 20 53 |en-misma|tch'. S|
|000007c0| 65 65 20 61 6c 73 6f 20 | 60 62 61 63 6b 75 70 2d |ee also |`backup-|
|000007d0| 69 6e 68 69 62 69 74 65 | 64 27 2e 1f 0a 28 64 65 |inhibite|d'...(de|
|000007e0| 66 63 6f 6e 73 74 20 6d | 61 6b 65 2d 62 61 63 6b |fconst m|ake-back|
|000007f0| 75 70 2d 66 69 6c 65 73 | 20 28 62 79 74 65 2d 63 |up-files| (byte-c|
|00000800| 6f 64 65 20 22 08 c1 3d | 3f 87 22 20 5b 73 79 73 |ode "..=|?." [sys|
|00000810| 74 65 6d 2d 74 79 70 65 | 20 76 61 78 2d 76 6d 73 |tem-type| vax-vms|
|00000820| 5d 20 32 29 20 28 23 24 | 20 2e 20 2d 31 32 30 33 |] 2) (#$| . -1203|
|00000830| 29 29 0a 23 40 31 38 31 | 20 4e 6f 6e 2d 6e 69 6c |)).#@181| Non-nil|
|00000840| 20 6d 65 61 6e 73 20 64 | 6f 6e 27 74 20 6d 61 6b | means d|on't mak|
|00000850| 65 20 61 20 62 61 63 6b | 75 70 2c 20 72 65 67 61 |e a back|up, rega|
|00000860| 72 64 6c 65 73 73 20 6f | 66 20 74 68 65 20 6f 74 |rdless o|f the ot|
|00000870| 68 65 72 20 70 61 72 61 | 6d 65 74 65 72 73 2e 0a |her para|meters..|
|00000880| 54 68 69 73 20 76 61 72 | 69 61 62 6c 65 20 69 73 |This var|iable is|
|00000890| 20 69 6e 74 65 6e 64 65 | 64 20 66 6f 72 20 75 73 | intende|d for us|
|000008a0| 65 20 62 79 20 6d 61 6b | 69 6e 67 20 69 74 20 6c |e by mak|ing it l|
|000008b0| 6f 63 61 6c 20 74 6f 20 | 61 20 62 75 66 66 65 72 |ocal to |a buffer|
|000008c0| 2e 0a 42 75 74 20 69 74 | 20 69 73 20 6c 6f 63 61 |..But it| is loca|
|000008d0| 6c 20 6f 6e 6c 79 20 69 | 66 20 79 6f 75 20 6d 61 |l only i|f you ma|
|000008e0| 6b 65 20 69 74 20 6c 6f | 63 61 6c 2e 1f 0a 28 64 |ke it lo|cal...(d|
|000008f0| 65 66 76 61 72 20 62 61 | 63 6b 75 70 2d 69 6e 68 |efvar ba|ckup-inh|
|00000900| 69 62 69 74 65 64 20 6e | 69 6c 20 28 23 24 20 2e |ibited n|il (#$ .|
|00000910| 20 32 31 30 35 29 29 0a | 28 70 75 74 20 28 71 75 | 2105)).|(put (qu|
|00000920| 6f 74 65 20 62 61 63 6b | 75 70 2d 69 6e 68 69 62 |ote back|up-inhib|
|00000930| 69 74 65 64 29 20 28 71 | 75 6f 74 65 20 70 65 72 |ited) (q|uote per|
|00000940| 6d 61 6e 65 6e 74 2d 6c | 6f 63 61 6c 29 20 74 29 |manent-l|ocal) t)|
|00000950| 0a 23 40 31 31 30 20 2a | 4e 6f 6e 2d 6e 69 6c 20 |.#@110 *|Non-nil |
|00000960| 6d 65 61 6e 73 20 61 6c | 77 61 79 73 20 75 73 65 |means al|ways use|
|00000970| 20 63 6f 70 79 69 6e 67 | 20 74 6f 20 63 72 65 61 | copying| to crea|
|00000980| 74 65 20 62 61 63 6b 75 | 70 20 66 69 6c 65 73 2e |te backu|p files.|
|00000990| 0a 53 65 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 |.See doc|umentati|
|000009a0| 6f 6e 20 6f 66 20 76 61 | 72 69 61 62 6c 65 20 60 |on of va|riable `|
|000009b0| 6d 61 6b 65 2d 62 61 63 | 6b 75 70 2d 66 69 6c 65 |make-bac|kup-file|
|000009c0| 73 27 2e 1f 0a 28 64 65 | 66 63 6f 6e 73 74 20 62 |s'...(de|fconst b|
|000009d0| 61 63 6b 75 70 2d 62 79 | 2d 63 6f 70 79 69 6e 67 |ackup-by|-copying|
|000009e0| 20 6e 69 6c 20 28 23 24 | 20 2e 20 2d 32 33 39 31 | nil (#$| . -2391|
|000009f0| 29 29 0a 23 40 32 31 33 | 20 2a 4e 6f 6e 2d 6e 69 |)).#@213| *Non-ni|
|00000a00| 6c 20 6d 65 61 6e 73 20 | 75 73 65 20 63 6f 70 79 |l means |use copy|
|00000a10| 69 6e 67 20 74 6f 20 63 | 72 65 61 74 65 20 62 61 |ing to c|reate ba|
|00000a20| 63 6b 75 70 73 20 66 6f | 72 20 66 69 6c 65 73 20 |ckups fo|r files |
|00000a30| 77 69 74 68 20 6d 75 6c | 74 69 70 6c 65 20 6e 61 |with mul|tiple na|
|00000a40| 6d 65 73 2e 0a 54 68 69 | 73 20 63 61 75 73 65 73 |mes..Thi|s causes|
|00000a50| 20 74 68 65 20 61 6c 74 | 65 72 6e 61 74 65 20 6e | the alt|ernate n|
|00000a60| 61 6d 65 73 20 74 6f 20 | 72 65 66 65 72 20 74 6f |ames to |refer to|
|00000a70| 20 74 68 65 20 6c 61 74 | 65 73 74 20 76 65 72 73 | the lat|est vers|
|00000a80| 69 6f 6e 20 61 73 20 65 | 64 69 74 65 64 2e 0a 54 |ion as e|dited..T|
|00000a90| 68 69 73 20 76 61 72 69 | 61 62 6c 65 20 69 73 20 |his vari|able is |
|00000aa0| 72 65 6c 65 76 61 6e 74 | 20 6f 6e 6c 79 20 69 66 |relevant| only if|
|00000ab0| 20 60 62 61 63 6b 75 70 | 2d 62 79 2d 63 6f 70 79 | `backup|-by-copy|
|00000ac0| 69 6e 67 27 20 69 73 20 | 6e 69 6c 2e 1f 0a 28 64 |ing' is |nil...(d|
|00000ad0| 65 66 63 6f 6e 73 74 20 | 62 61 63 6b 75 70 2d 62 |efconst |backup-b|
|00000ae0| 79 2d 63 6f 70 79 69 6e | 67 2d 77 68 65 6e 2d 6c |y-copyin|g-when-l|
|00000af0| 69 6e 6b 65 64 20 6e 69 | 6c 20 28 23 24 20 2e 20 |inked ni|l (#$ . |
|00000b00| 2d 32 35 35 33 29 29 0a | 23 40 33 38 39 20 2a 4e |-2553)).|#@389 *N|
|00000b10| 6f 6e 2d 6e 69 6c 20 6d | 65 61 6e 73 20 63 72 65 |on-nil m|eans cre|
|00000b20| 61 74 65 20 62 61 63 6b | 75 70 73 20 62 79 20 63 |ate back|ups by c|
|00000b30| 6f 70 79 69 6e 67 20 69 | 66 20 74 68 69 73 20 70 |opying i|f this p|
|00000b40| 72 65 73 65 72 76 65 73 | 20 6f 77 6e 65 72 20 6f |reserves| owner o|
|00000b50| 72 20 67 72 6f 75 70 2e | 0a 52 65 6e 61 6d 69 6e |r group.|.Renamin|
|00000b60| 67 20 6d 61 79 20 73 74 | 69 6c 6c 20 62 65 20 75 |g may st|ill be u|
|00000b70| 73 65 64 20 28 73 75 62 | 6a 65 63 74 20 74 6f 20 |sed (sub|ject to |
|00000b80| 63 6f 6e 74 72 6f 6c 20 | 6f 66 20 6f 74 68 65 72 |control |of other|
|00000b90| 20 76 61 72 69 61 62 6c | 65 73 29 0a 77 68 65 6e | variabl|es).when|
|00000ba0| 20 69 74 20 77 6f 75 6c | 64 20 6e 6f 74 20 72 65 | it woul|d not re|
|00000bb0| 73 75 6c 74 20 69 6e 20 | 63 68 61 6e 67 69 6e 67 |sult in |changing|
|00000bc0| 20 74 68 65 20 6f 77 6e | 65 72 20 6f 72 20 67 72 | the own|er or gr|
|00000bd0| 6f 75 70 20 6f 66 20 74 | 68 65 20 66 69 6c 65 3b |oup of t|he file;|
|00000be0| 0a 74 68 61 74 20 69 73 | 2c 20 66 6f 72 20 66 69 |.that is|, for fi|
|00000bf0| 6c 65 73 20 77 68 69 63 | 68 20 61 72 65 20 6f 77 |les whic|h are ow|
|00000c00| 6e 65 64 20 62 79 20 79 | 6f 75 20 61 6e 64 20 77 |ned by y|ou and w|
|00000c10| 68 6f 73 65 20 67 72 6f | 75 70 20 6d 61 74 63 68 |hose gro|up match|
|00000c20| 65 73 0a 74 68 65 20 64 | 65 66 61 75 6c 74 20 66 |es.the d|efault f|
|00000c30| 6f 72 20 61 20 6e 65 77 | 20 66 69 6c 65 20 63 72 |or a new| file cr|
|00000c40| 65 61 74 65 64 20 74 68 | 65 72 65 20 62 79 20 79 |eated th|ere by y|
|00000c50| 6f 75 2e 0a 54 68 69 73 | 20 76 61 72 69 61 62 6c |ou..This| variabl|
|00000c60| 65 20 69 73 20 72 65 6c | 65 76 61 6e 74 20 6f 6e |e is rel|evant on|
|00000c70| 6c 79 20 69 66 20 60 62 | 61 63 6b 75 70 2d 62 79 |ly if `b|ackup-by|
|00000c80| 2d 63 6f 70 79 69 6e 67 | 27 20 69 73 20 6e 69 6c |-copying|' is nil|
|00000c90| 2e 1f 0a 28 64 65 66 63 | 6f 6e 73 74 20 62 61 63 |...(defc|onst bac|
|00000ca0| 6b 75 70 2d 62 79 2d 63 | 6f 70 79 69 6e 67 2d 77 |kup-by-c|opying-w|
|00000cb0| 68 65 6e 2d 6d 69 73 6d | 61 74 63 68 20 6e 69 6c |hen-mism|atch nil|
|00000cc0| 20 28 23 24 20 2e 20 2d | 32 38 33 30 29 29 0a 23 | (#$ . -|2830)).#|
|00000cd0| 40 31 35 32 20 50 72 65 | 64 69 63 61 74 65 20 74 |@152 Pre|dicate t|
|00000ce0| 68 61 74 20 6c 6f 6f 6b | 73 20 61 74 20 61 20 66 |hat look|s at a f|
|00000cf0| 69 6c 65 20 6e 61 6d 65 | 20 61 6e 64 20 64 65 63 |ile name| and dec|
|00000d00| 69 64 65 73 20 77 68 65 | 74 68 65 72 20 74 6f 20 |ides whe|ther to |
|00000d10| 6d 61 6b 65 20 62 61 63 | 6b 75 70 73 2e 0a 43 61 |make bac|kups..Ca|
|00000d20| 6c 6c 65 64 20 77 69 74 | 68 20 61 6e 20 61 62 73 |lled wit|h an abs|
|00000d30| 6f 6c 75 74 65 20 66 69 | 6c 65 20 6e 61 6d 65 20 |olute fi|le name |
|00000d40| 61 73 20 61 72 67 75 6d | 65 6e 74 2c 20 69 74 20 |as argum|ent, it |
|00000d50| 72 65 74 75 72 6e 73 20 | 74 20 74 6f 20 65 6e 61 |returns |t to ena|
|00000d60| 62 6c 65 20 62 61 63 6b | 75 70 2e 1f 0a 28 64 65 |ble back|up...(de|
|00000d70| 66 76 61 72 20 62 61 63 | 6b 75 70 2d 65 6e 61 62 |fvar bac|kup-enab|
|00000d80| 6c 65 2d 70 72 65 64 69 | 63 61 74 65 20 28 71 75 |le-predi|cate (qu|
|00000d90| 6f 74 65 20 28 6c 61 6d | 62 64 61 20 28 6e 61 6d |ote (lam|bda (nam|
|00000da0| 65 29 20 28 6f 72 20 28 | 3c 20 28 6c 65 6e 67 74 |e) (or (|< (lengt|
|00000db0| 68 20 6e 61 6d 65 29 20 | 35 29 20 28 6e 6f 74 20 |h name) |5) (not |
|00000dc0| 28 73 74 72 69 6e 67 2d | 65 71 75 61 6c 20 22 2f |(string-|equal "/|
|00000dd0| 74 6d 70 2f 22 20 28 73 | 75 62 73 74 72 69 6e 67 |tmp/" (s|ubstring|
|00000de0| 20 6e 61 6d 65 20 30 20 | 35 29 29 29 29 29 29 20 | name 0 |5)))))) |
|00000df0| 28 23 24 20 2e 20 33 32 | 38 35 29 29 0a 23 40 31 |(#$ . 32|85)).#@1|
|00000e00| 34 30 20 2a 4e 6f 6e 2d | 6e 69 6c 20 69 6e 20 61 |40 *Non-|nil in a|
|00000e10| 20 62 75 66 66 65 72 20 | 6d 65 61 6e 73 20 6f 66 | buffer |means of|
|00000e20| 66 65 72 20 74 6f 20 73 | 61 76 65 20 74 68 65 20 |fer to s|ave the |
|00000e30| 62 75 66 66 65 72 20 6f | 6e 20 65 78 69 74 0a 65 |buffer o|n exit.e|
|00000e40| 76 65 6e 20 69 66 20 74 | 68 65 20 62 75 66 66 65 |ven if t|he buffe|
|00000e50| 72 20 69 73 20 6e 6f 74 | 20 76 69 73 69 74 69 6e |r is not| visitin|
|00000e60| 67 20 61 20 66 69 6c 65 | 2e 0a 41 75 74 6f 6d 61 |g a file|..Automa|
|00000e70| 74 69 63 61 6c 6c 79 20 | 6c 6f 63 61 6c 20 69 6e |tically |local in|
|00000e80| 20 61 6c 6c 20 62 75 66 | 66 65 72 73 2e 1f 0a 28 | all buf|fers...(|
|00000e90| 64 65 66 63 6f 6e 73 74 | 20 62 75 66 66 65 72 2d |defconst| buffer-|
|00000ea0| 6f 66 66 65 72 2d 73 61 | 76 65 20 6e 69 6c 20 28 |offer-sa|ve nil (|
|00000eb0| 23 24 20 2e 20 2d 33 35 | 38 37 29 29 0a 28 6d 61 |#$ . -35|87)).(ma|
|00000ec0| 6b 65 2d 76 61 72 69 61 | 62 6c 65 2d 62 75 66 66 |ke-varia|ble-buff|
|00000ed0| 65 72 2d 6c 6f 63 61 6c | 20 28 71 75 6f 74 65 20 |er-local| (quote |
|00000ee0| 62 75 66 66 65 72 2d 6f | 66 66 65 72 2d 73 61 76 |buffer-o|ffer-sav|
|00000ef0| 65 29 29 0a 23 40 32 31 | 31 20 2a 4e 6f 6e 2d 6e |e)).#@21|1 *Non-n|
|00000f00| 69 6c 20 6d 65 61 6e 73 | 20 66 69 6e 64 20 61 20 |il means| find a |
|00000f10| 66 69 6c 65 20 75 6e 64 | 65 72 20 61 6c 74 65 72 |file und|er alter|
|00000f20| 6e 61 74 69 76 65 20 6e | 61 6d 65 73 2c 20 69 6e |native n|ames, in|
|00000f30| 20 65 78 69 73 74 69 6e | 67 20 62 75 66 66 65 72 | existin|g buffer|
|00000f40| 73 2e 0a 54 68 69 73 20 | 6d 65 61 6e 73 20 69 66 |s..This |means if|
|00000f50| 20 61 6e 79 20 65 78 69 | 73 74 69 6e 67 20 62 75 | any exi|sting bu|
|00000f60| 66 66 65 72 20 69 73 20 | 76 69 73 69 74 69 6e 67 |ffer is |visiting|
|00000f70| 20 74 68 65 20 66 69 6c | 65 20 79 6f 75 20 77 61 | the fil|e you wa|
|00000f80| 6e 74 0a 75 6e 64 65 72 | 20 61 6e 6f 74 68 65 72 |nt.under| another|
|00000f90| 20 6e 61 6d 65 2c 20 79 | 6f 75 20 67 65 74 20 74 | name, y|ou get t|
|00000fa0| 68 65 20 65 78 69 73 74 | 69 6e 67 20 62 75 66 66 |he exist|ing buff|
|00000fb0| 65 72 20 69 6e 73 74 65 | 61 64 20 6f 66 20 61 20 |er inste|ad of a |
|00000fc0| 6e 65 77 20 62 75 66 66 | 65 72 2e 1f 0a 28 64 65 |new buff|er...(de|
|00000fd0| 66 63 6f 6e 73 74 20 66 | 69 6e 64 2d 66 69 6c 65 |fconst f|ind-file|
|00000fe0| 2d 65 78 69 73 74 69 6e | 67 2d 6f 74 68 65 72 2d |-existin|g-other-|
|00000ff0| 6e 61 6d 65 20 6e 69 6c | 20 28 23 24 20 2e 20 2d |name nil| (#$ . -|
|00001000| 33 38 33 34 29 29 0a 23 | 40 31 37 34 20 2a 4e 6f |3834)).#|@174 *No|
|00001010| 6e 2d 6e 69 6c 20 6d 65 | 61 6e 73 20 76 69 73 69 |n-nil me|ans visi|
|00001020| 74 20 61 20 66 69 6c 65 | 20 75 6e 64 65 72 20 69 |t a file| under i|
|00001030| 74 73 20 74 72 75 65 6e | 61 6d 65 2e 0a 54 68 65 |ts truen|ame..The|
|00001040| 20 74 72 75 65 6e 61 6d | 65 20 6f 66 20 61 20 66 | truenam|e of a f|
|00001050| 69 6c 65 20 69 73 20 66 | 6f 75 6e 64 20 62 79 20 |ile is f|ound by |
|00001060| 63 68 61 73 69 6e 67 20 | 61 6c 6c 20 6c 69 6e 6b |chasing |all link|
|00001070| 73 0a 62 6f 74 68 20 61 | 74 20 74 68 65 20 66 69 |s.both a|t the fi|
|00001080| 6c 65 20 6c 65 76 65 6c | 20 61 6e 64 20 61 74 20 |le level| and at |
|00001090| 74 68 65 20 6c 65 76 65 | 6c 73 20 6f 66 20 74 68 |the leve|ls of th|
|000010a0| 65 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 64 69 72 |e contai|ning dir|
|000010b0| 65 63 74 6f 72 69 65 73 | 2e 1f 0a 28 64 65 66 63 |ectories|...(defc|
|000010c0| 6f 6e 73 74 20 66 69 6e | 64 2d 66 69 6c 65 2d 76 |onst fin|d-file-v|
|000010d0| 69 73 69 74 2d 74 72 75 | 65 6e 61 6d 65 20 6e 69 |isit-tru|ename ni|
|000010e0| 6c 20 28 23 24 20 2e 20 | 2d 34 31 30 39 29 29 0a |l (#$ . |-4109)).|
|000010f0| 23 40 32 33 35 20 54 68 | 65 20 64 65 76 69 63 65 |#@235 Th|e device|
|00001100| 20 6e 75 6d 62 65 72 20 | 61 6e 64 20 66 69 6c 65 | number |and file|
|00001110| 20 6e 75 6d 62 65 72 20 | 6f 66 20 74 68 65 20 66 | number |of the f|
|00001120| 69 6c 65 20 76 69 73 69 | 74 65 64 20 69 6e 20 74 |ile visi|ted in t|
|00001130| 68 65 20 63 75 72 72 65 | 6e 74 20 62 75 66 66 65 |he curre|nt buffe|
|00001140| 72 2e 0a 54 68 65 20 76 | 61 6c 75 65 20 69 73 20 |r..The v|alue is |
|00001150| 61 20 6c 69 73 74 20 6f | 66 20 74 68 65 20 66 6f |a list o|f the fo|
|00001160| 72 6d 20 28 46 49 4c 45 | 4e 55 4d 20 44 45 56 4e |rm (FILE|NUM DEVN|
|00001170| 55 4d 29 2e 0a 54 68 69 | 73 20 70 61 69 72 20 6f |UM)..Thi|s pair o|
|00001180| 66 20 6e 75 6d 62 65 72 | 73 20 75 6e 69 71 75 65 |f number|s unique|
|00001190| 6c 79 20 69 64 65 6e 74 | 69 66 69 65 73 20 74 68 |ly ident|ifies th|
|000011a0| 65 20 66 69 6c 65 2e 0a | 49 66 20 74 68 65 20 62 |e file..|If the b|
|000011b0| 75 66 66 65 72 20 69 73 | 20 76 69 73 69 74 69 6e |uffer is| visitin|
|000011c0| 67 20 61 20 6e 65 77 20 | 66 69 6c 65 2c 20 74 68 |g a new |file, th|
|000011d0| 65 20 76 61 6c 75 65 20 | 69 73 20 6e 69 6c 2e 1f |e value |is nil..|
|000011e0| 0a 28 64 65 66 76 61 72 | 20 62 75 66 66 65 72 2d |.(defvar| buffer-|
|000011f0| 66 69 6c 65 2d 6e 75 6d | 62 65 72 20 6e 69 6c 20 |file-num|ber nil |
|00001200| 28 23 24 20 2e 20 34 33 | 34 32 29 29 0a 28 62 79 |(#$ . 43|42)).(by|
|00001210| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 21 88 c2 c1 c3 |te-code |"..!....|
|00001220| c4 23 87 22 20 5b 6d 61 | 6b 65 2d 76 61 72 69 61 |.#." [ma|ke-varia|
|00001230| 62 6c 65 2d 62 75 66 66 | 65 72 2d 6c 6f 63 61 6c |ble-buff|er-local|
|00001240| 20 62 75 66 66 65 72 2d | 66 69 6c 65 2d 6e 75 6d | buffer-|file-num|
|00001250| 62 65 72 20 70 75 74 20 | 70 65 72 6d 61 6e 65 6e |ber put |permanen|
|00001260| 74 2d 6c 6f 63 61 6c 20 | 74 5d 20 34 29 0a 23 40 |t-local |t] 4).#@|
|00001270| 36 36 20 4e 6f 6e 2d 6e | 69 6c 20 6d 65 61 6e 73 |66 Non-n|il means|
|00001280| 20 74 68 61 74 20 62 75 | 66 66 65 72 2d 66 69 6c | that bu|ffer-fil|
|00001290| 65 2d 6e 75 6d 62 65 72 | 20 75 6e 69 71 75 65 6c |e-number| uniquel|
|000012a0| 79 20 69 64 65 6e 74 69 | 66 69 65 73 20 66 69 6c |y identi|fies fil|
|000012b0| 65 73 2e 1f 0a 28 64 65 | 66 76 61 72 20 62 75 66 |es...(de|fvar buf|
|000012c0| 66 65 72 2d 66 69 6c 65 | 2d 6e 75 6d 62 65 72 73 |fer-file|-numbers|
|000012d0| 2d 75 6e 69 71 75 65 20 | 28 62 79 74 65 2d 63 6f |-unique |(byte-co|
|000012e0| 64 65 20 22 08 c1 3e 3f | 87 22 20 5b 73 79 73 74 |de "..>?|." [syst|
|000012f0| 65 6d 2d 74 79 70 65 20 | 28 77 69 6e 64 6f 77 73 |em-type |(windows|
|00001300| 2d 6e 74 29 5d 20 32 29 | 20 28 23 24 20 2e 20 34 |-nt)] 2)| (#$ . 4|
|00001310| 37 32 33 29 29 0a 23 40 | 35 33 35 20 2a 4e 6f 6e |723)).#@|535 *Non|
|00001320| 2d 6e 69 6c 20 6d 65 61 | 6e 73 20 70 72 6f 74 65 |-nil mea|ns prote|
|00001330| 63 74 20 61 67 61 69 6e | 73 74 20 49 2f 4f 20 65 |ct again|st I/O e|
|00001340| 72 72 6f 72 73 20 77 68 | 69 6c 65 20 73 61 76 69 |rrors wh|ile savi|
|00001350| 6e 67 20 66 69 6c 65 73 | 2e 0a 53 6f 6d 65 20 6d |ng files|..Some m|
|00001360| 6f 64 65 73 20 73 65 74 | 20 74 68 69 73 20 6e 6f |odes set| this no|
|00001370| 6e 2d 6e 69 6c 20 69 6e | 20 70 61 72 74 69 63 75 |n-nil in| particu|
|00001380| 6c 61 72 20 62 75 66 66 | 65 72 73 2e 0a 0a 54 68 |lar buff|ers...Th|
|00001390| 69 73 20 66 65 61 74 75 | 72 65 20 77 6f 72 6b 73 |is featu|re works|
|000013a0| 20 62 79 20 77 72 69 74 | 69 6e 67 20 74 68 65 20 | by writ|ing the |
|000013b0| 6e 65 77 20 63 6f 6e 74 | 65 6e 74 73 20 69 6e 74 |new cont|ents int|
|000013c0| 6f 20 61 20 74 65 6d 70 | 6f 72 61 72 79 20 66 69 |o a temp|orary fi|
|000013d0| 6c 65 0a 61 6e 64 20 74 | 68 65 6e 20 72 65 6e 61 |le.and t|hen rena|
|000013e0| 6d 69 6e 67 20 74 68 65 | 20 74 65 6d 70 6f 72 61 |ming the| tempora|
|000013f0| 72 79 20 66 69 6c 65 20 | 74 6f 20 72 65 70 6c 61 |ry file |to repla|
|00001400| 63 65 20 74 68 65 20 6f | 72 69 67 69 6e 61 6c 2e |ce the o|riginal.|
|00001410| 0a 49 6e 20 74 68 69 73 | 20 77 61 79 2c 20 61 6e |.In this| way, an|
|00001420| 79 20 49 2f 4f 20 65 72 | 72 6f 72 20 69 6e 20 77 |y I/O er|ror in w|
|00001430| 72 69 74 69 6e 67 20 6c | 65 61 76 65 73 20 74 68 |riting l|eaves th|
|00001440| 65 20 6f 72 69 67 69 6e | 61 6c 20 75 6e 74 6f 75 |e origin|al untou|
|00001450| 63 68 65 64 2c 0a 61 6e | 64 20 74 68 65 72 65 20 |ched,.an|d there |
|00001460| 69 73 20 6e 65 76 65 72 | 20 61 6e 79 20 69 6e 73 |is never| any ins|
|00001470| 74 61 6e 74 20 77 68 65 | 72 65 20 74 68 65 20 66 |tant whe|re the f|
|00001480| 69 6c 65 20 69 73 20 6e | 6f 6e 65 78 69 73 74 65 |ile is n|onexiste|
|00001490| 6e 74 2e 0a 0a 4e 6f 74 | 65 20 74 68 61 74 20 74 |nt...Not|e that t|
|000014a0| 68 69 73 20 66 65 61 74 | 75 72 65 20 66 6f 72 63 |his feat|ure forc|
|000014b0| 65 73 20 62 61 63 6b 75 | 70 73 20 74 6f 20 62 65 |es backu|ps to be|
|000014c0| 20 6d 61 64 65 20 62 79 | 20 63 6f 70 79 69 6e 67 | made by| copying|
|000014d0| 2e 0a 59 65 74 2c 20 61 | 74 20 74 68 65 20 73 61 |..Yet, a|t the sa|
|000014e0| 6d 65 20 74 69 6d 65 2c | 20 73 61 76 69 6e 67 20 |me time,| saving |
|000014f0| 61 20 70 72 65 63 69 6f | 75 73 20 66 69 6c 65 0a |a precio|us file.|
|00001500| 62 72 65 61 6b 73 20 61 | 6e 79 20 68 61 72 64 20 |breaks a|ny hard |
|00001510| 6c 69 6e 6b 73 20 62 65 | 74 77 65 65 6e 20 69 74 |links be|tween it|
|00001520| 20 61 6e 64 20 6f 74 68 | 65 72 20 66 69 6c 65 73 | and oth|er files|
|00001530| 2e 1f 0a 28 64 65 66 63 | 6f 6e 73 74 20 66 69 6c |...(defc|onst fil|
|00001540| 65 2d 70 72 65 63 69 6f | 75 73 2d 66 6c 61 67 20 |e-precio|us-flag |
|00001550| 6e 69 6c 20 28 23 24 20 | 2e 20 2d 34 38 39 32 29 |nil (#$ |. -4892)|
|00001560| 29 0a 23 40 31 39 31 20 | 2a 43 6f 6e 74 72 6f 6c |).#@191 |*Control|
|00001570| 20 75 73 65 20 6f 66 20 | 76 65 72 73 69 6f 6e 20 | use of |version |
|00001580| 6e 75 6d 62 65 72 73 20 | 66 6f 72 20 62 61 63 6b |numbers |for back|
|00001590| 75 70 20 66 69 6c 65 73 | 2e 0a 74 20 6d 65 61 6e |up files|..t mean|
|000015a0| 73 20 6d 61 6b 65 20 6e | 75 6d 65 72 69 63 20 62 |s make n|umeric b|
|000015b0| 61 63 6b 75 70 20 76 65 | 72 73 69 6f 6e 73 20 75 |ackup ve|rsions u|
|000015c0| 6e 63 6f 6e 64 69 74 69 | 6f 6e 61 6c 6c 79 2e 0a |nconditi|onally..|
|000015d0| 6e 69 6c 20 6d 65 61 6e | 73 20 6d 61 6b 65 20 74 |nil mean|s make t|
|000015e0| 68 65 6d 20 66 6f 72 20 | 66 69 6c 65 73 20 74 68 |hem for |files th|
|000015f0| 61 74 20 68 61 76 65 20 | 73 6f 6d 65 20 61 6c 72 |at have |some alr|
|00001600| 65 61 64 79 2e 0a 60 6e | 65 76 65 72 27 20 6d 65 |eady..`n|ever' me|
|00001610| 61 6e 73 20 64 6f 20 6e | 6f 74 20 6d 61 6b 65 20 |ans do n|ot make |
|00001620| 74 68 65 6d 2e 1f 0a 28 | 64 65 66 76 61 72 20 76 |them...(|defvar v|
|00001630| 65 72 73 69 6f 6e 2d 63 | 6f 6e 74 72 6f 6c 20 6e |ersion-c|ontrol n|
|00001640| 69 6c 20 28 23 24 20 2e | 20 2d 35 34 38 30 29 29 |il (#$ .| -5480))|
|00001650| 0a 23 40 35 35 20 2a 57 | 68 65 6e 20 63 6c 65 61 |.#@55 *W|hen clea|
|00001660| 6e 69 6e 67 20 64 69 72 | 65 63 74 6f 72 79 2c 20 |ning dir|ectory, |
|00001670| 6e 75 6d 62 65 72 20 6f | 66 20 76 65 72 73 69 6f |number o|f versio|
|00001680| 6e 73 20 74 6f 20 6b 65 | 65 70 2e 1f 0a 28 64 65 |ns to ke|ep...(de|
|00001690| 66 76 61 72 20 64 69 72 | 65 64 2d 6b 65 70 74 2d |fvar dir|ed-kept-|
|000016a0| 76 65 72 73 69 6f 6e 73 | 20 32 20 28 23 24 20 2e |versions| 2 (#$ .|
|000016b0| 20 2d 35 37 31 38 29 29 | 0a 23 40 31 31 34 20 2a | -5718))|.#@114 *|
|000016c0| 49 66 20 74 2c 20 64 65 | 6c 65 74 65 20 65 78 63 |If t, de|lete exc|
|000016d0| 65 73 73 20 62 61 63 6b | 75 70 20 76 65 72 73 69 |ess back|up versi|
|000016e0| 6f 6e 73 20 73 69 6c 65 | 6e 74 6c 79 2e 0a 49 66 |ons sile|ntly..If|
|000016f0| 20 6e 69 6c 2c 20 61 73 | 6b 20 63 6f 6e 66 69 72 | nil, as|k confir|
|00001700| 6d 61 74 69 6f 6e 2e 20 | 20 41 6e 79 20 6f 74 68 |mation. | Any oth|
|00001710| 65 72 20 76 61 6c 75 65 | 20 70 72 65 76 65 6e 74 |er value| prevent|
|00001720| 73 20 61 6e 79 20 74 72 | 69 6d 6d 69 6e 67 2e 1f |s any tr|imming..|
|00001730| 0a 28 64 65 66 76 61 72 | 20 64 65 6c 65 74 65 2d |.(defvar| delete-|
|00001740| 6f 6c 64 2d 76 65 72 73 | 69 6f 6e 73 20 6e 69 6c |old-vers|ions nil|
|00001750| 20 28 23 24 20 2e 20 2d | 35 38 32 33 29 29 0a 23 | (#$ . -|5823)).#|
|00001760| 40 37 32 20 2a 4e 75 6d | 62 65 72 20 6f 66 20 6f |@72 *Num|ber of o|
|00001770| 6c 64 65 73 74 20 76 65 | 72 73 69 6f 6e 73 20 74 |ldest ve|rsions t|
|00001780| 6f 20 6b 65 65 70 20 77 | 68 65 6e 20 61 20 6e 65 |o keep w|hen a ne|
|00001790| 77 20 6e 75 6d 62 65 72 | 65 64 20 62 61 63 6b 75 |w number|ed backu|
|000017a0| 70 20 69 73 20 6d 61 64 | 65 2e 1f 0a 28 64 65 66 |p is mad|e...(def|
|000017b0| 76 61 72 20 6b 65 70 74 | 2d 6f 6c 64 2d 76 65 72 |var kept|-old-ver|
|000017c0| 73 69 6f 6e 73 20 32 20 | 28 23 24 20 2e 20 2d 35 |sions 2 |(#$ . -5|
|000017d0| 39 38 38 29 29 0a 23 40 | 31 31 30 20 2a 4e 75 6d |988)).#@|110 *Num|
|000017e0| 62 65 72 20 6f 66 20 6e | 65 77 65 73 74 20 76 65 |ber of n|ewest ve|
|000017f0| 72 73 69 6f 6e 73 20 74 | 6f 20 6b 65 65 70 20 77 |rsions t|o keep w|
|00001800| 68 65 6e 20 61 20 6e 65 | 77 20 6e 75 6d 62 65 72 |hen a ne|w number|
|00001810| 65 64 20 62 61 63 6b 75 | 70 20 69 73 20 6d 61 64 |ed backu|p is mad|
|00001820| 65 2e 0a 49 6e 63 6c 75 | 64 65 73 20 74 68 65 20 |e..Inclu|des the |
|00001830| 6e 65 77 20 62 61 63 6b | 75 70 2e 20 20 4d 75 73 |new back|up. Mus|
|00001840| 74 20 62 65 20 3e 20 30 | 1f 0a 28 64 65 66 76 61 |t be > 0|..(defva|
|00001850| 72 20 6b 65 70 74 2d 6e | 65 77 2d 76 65 72 73 69 |r kept-n|ew-versi|
|00001860| 6f 6e 73 20 32 20 28 23 | 24 20 2e 20 2d 36 31 30 |ons 2 (#|$ . -610|
|00001870| 38 29 29 0a 23 40 31 38 | 36 20 2a 56 61 6c 75 65 |8)).#@18|6 *Value|
|00001880| 20 6f 66 20 74 20 73 61 | 79 73 20 73 69 6c 65 6e | of t sa|ys silen|
|00001890| 74 6c 79 20 65 6e 73 75 | 72 65 20 61 20 66 69 6c |tly ensu|re a fil|
|000018a0| 65 20 65 6e 64 73 20 69 | 6e 20 61 20 6e 65 77 6c |e ends i|n a newl|
|000018b0| 69 6e 65 20 77 68 65 6e | 20 69 74 20 69 73 20 73 |ine when| it is s|
|000018c0| 61 76 65 64 2e 0a 4e 6f | 6e 2d 6e 69 6c 20 62 75 |aved..No|n-nil bu|
|000018d0| 74 20 6e 6f 74 20 74 20 | 73 61 79 73 20 61 73 6b |t not t |says ask|
|000018e0| 20 75 73 65 72 20 77 68 | 65 74 68 65 72 20 74 6f | user wh|ether to|
|000018f0| 20 61 64 64 20 61 20 6e | 65 77 6c 69 6e 65 20 77 | add a n|ewline w|
|00001900| 68 65 6e 20 74 68 65 72 | 65 20 69 73 6e 27 74 20 |hen ther|e isn't |
|00001910| 6f 6e 65 2e 0a 6e 69 6c | 20 6d 65 61 6e 73 20 64 |one..nil| means d|
|00001920| 6f 6e 27 74 20 61 64 64 | 20 6e 65 77 6c 69 6e 65 |on't add| newline|
|00001930| 73 2e 1f 0a 28 64 65 66 | 63 6f 6e 73 74 20 72 65 |s...(def|const re|
|00001940| 71 75 69 72 65 2d 66 69 | 6e 61 6c 2d 6e 65 77 6c |quire-fi|nal-newl|
|00001950| 69 6e 65 20 6e 69 6c 20 | 28 23 24 20 2e 20 2d 36 |ine nil |(#$ . -6|
|00001960| 32 36 36 29 29 0a 23 40 | 37 32 20 2a 4e 6f 6e 2d |266)).#@|72 *Non-|
|00001970| 6e 69 6c 20 73 61 79 73 | 20 62 79 20 64 65 66 61 |nil says| by defa|
|00001980| 75 6c 74 20 64 6f 20 61 | 75 74 6f 2d 73 61 76 69 |ult do a|uto-savi|
|00001990| 6e 67 20 6f 66 20 65 76 | 65 72 79 20 66 69 6c 65 |ng of ev|ery file|
|000019a0| 2d 76 69 73 69 74 69 6e | 67 20 62 75 66 66 65 72 |-visitin|g buffer|
|000019b0| 2e 1f 0a 28 64 65 66 63 | 6f 6e 73 74 20 61 75 74 |...(defc|onst aut|
|000019c0| 6f 2d 73 61 76 65 2d 64 | 65 66 61 75 6c 74 20 74 |o-save-d|efault t|
|000019d0| 20 28 23 24 20 2e 20 2d | 36 35 30 37 29 29 0a 23 | (#$ . -|6507)).#|
|000019e0| 40 31 33 34 20 2a 4e 6f | 6e 2d 6e 69 6c 20 73 61 |@134 *No|n-nil sa|
|000019f0| 79 73 20 61 75 74 6f 2d | 73 61 76 65 20 61 20 62 |ys auto-|save a b|
|00001a00| 75 66 66 65 72 20 69 6e | 20 74 68 65 20 66 69 6c |uffer in| the fil|
|00001a10| 65 20 69 74 20 69 73 20 | 76 69 73 69 74 69 6e 67 |e it is |visiting|
|00001a20| 2c 20 77 68 65 6e 20 70 | 72 61 63 74 69 63 61 6c |, when p|ractical|
|00001a30| 2e 0a 4e 6f 72 6d 61 6c | 6c 79 20 61 75 74 6f 2d |..Normal|ly auto-|
|00001a40| 73 61 76 65 20 66 69 6c | 65 73 20 61 72 65 20 77 |save fil|es are w|
|00001a50| 72 69 74 74 65 6e 20 75 | 6e 64 65 72 20 6f 74 68 |ritten u|nder oth|
|00001a60| 65 72 20 6e 61 6d 65 73 | 2e 1f 0a 28 64 65 66 63 |er names|...(defc|
|00001a70| 6f 6e 73 74 20 61 75 74 | 6f 2d 73 61 76 65 2d 76 |onst aut|o-save-v|
|00001a80| 69 73 69 74 65 64 2d 66 | 69 6c 65 2d 6e 61 6d 65 |isited-f|ile-name|
|00001a90| 20 6e 69 6c 20 28 23 24 | 20 2e 20 2d 36 36 32 39 | nil (#$| . -6629|
|00001aa0| 29 29 0a 23 40 39 39 20 | 2a 4e 6f 6e 2d 6e 69 6c |)).#@99 |*Non-nil|
|00001ab0| 20 6d 65 61 6e 73 20 73 | 61 76 65 20 77 6f 72 64 | means s|ave word|
|00001ac0| 20 61 62 62 72 65 76 73 | 20 74 6f 6f 20 77 68 65 | abbrevs| too whe|
|00001ad0| 6e 20 66 69 6c 65 73 20 | 61 72 65 20 73 61 76 65 |n files |are save|
|00001ae0| 64 2e 0a 4c 6f 61 64 69 | 6e 67 20 61 6e 20 61 62 |d..Loadi|ng an ab|
|00001af0| 62 72 65 76 20 66 69 6c | 65 20 73 65 74 73 20 74 |brev fil|e sets t|
|00001b00| 68 69 73 20 74 6f 20 74 | 2e 1f 0a 28 64 65 66 63 |his to t|...(defc|
|00001b10| 6f 6e 73 74 20 73 61 76 | 65 2d 61 62 62 72 65 76 |onst sav|e-abbrev|
|00001b20| 73 20 6e 69 6c 20 28 23 | 24 20 2e 20 2d 36 38 32 |s nil (#|$ . -682|
|00001b30| 34 29 29 0a 23 40 37 34 | 20 2a 4e 6f 6e 2d 6e 69 |4)).#@74| *Non-ni|
|00001b40| 6c 20 73 61 79 73 20 72 | 75 6e 20 64 69 72 65 64 |l says r|un dired|
|00001b50| 20 69 66 20 60 66 69 6e | 64 2d 66 69 6c 65 27 20 | if `fin|d-file' |
|00001b60| 69 73 20 67 69 76 65 6e | 20 74 68 65 20 6e 61 6d |is given| the nam|
|00001b70| 65 20 6f 66 20 61 20 64 | 69 72 65 63 74 6f 72 79 |e of a d|irectory|
|00001b80| 2e 1f 0a 28 64 65 66 63 | 6f 6e 73 74 20 66 69 6e |...(defc|onst fin|
|00001b90| 64 2d 66 69 6c 65 2d 72 | 75 6e 2d 64 69 72 65 64 |d-file-r|un-dired|
|00001ba0| 20 74 20 28 23 24 20 2e | 20 2d 36 39 36 39 29 29 | t (#$ .| -6969))|
|00001bb0| 0a 23 40 32 34 37 20 4c | 69 73 74 20 6f 66 20 66 |.#@247 L|ist of f|
|00001bc0| 75 6e 63 74 69 6f 6e 73 | 20 74 6f 20 62 65 20 63 |unctions| to be c|
|00001bd0| 61 6c 6c 65 64 20 66 6f | 72 20 60 66 69 6e 64 2d |alled fo|r `find-|
|00001be0| 66 69 6c 65 27 20 6f 6e | 20 6e 6f 6e 65 78 69 73 |file' on| nonexis|
|00001bf0| 74 65 6e 74 20 66 69 6c | 65 2e 0a 54 68 65 73 65 |tent fil|e..These|
|00001c00| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 72 65 20 63 | functio|ns are c|
|00001c10| 61 6c 6c 65 64 20 61 73 | 20 73 6f 6f 6e 20 61 73 |alled as| soon as|
|00001c20| 20 74 68 65 20 65 72 72 | 6f 72 20 69 73 20 64 65 | the err|or is de|
|00001c30| 74 65 63 74 65 64 2e 0a | 60 62 75 66 66 65 72 2d |tected..|`buffer-|
|00001c40| 66 69 6c 65 2d 6e 61 6d | 65 27 20 69 73 20 61 6c |file-nam|e' is al|
|00001c50| 72 65 61 64 79 20 73 65 | 74 20 75 70 2e 0a 54 68 |ready se|t up..Th|
|00001c60| 65 20 66 75 6e 63 74 69 | 6f 6e 73 20 61 72 65 20 |e functi|ons are |
|00001c70| 63 61 6c 6c 65 64 20 69 | 6e 20 74 68 65 20 6f 72 |called i|n the or|
|00001c80| 64 65 72 20 67 69 76 65 | 6e 20 75 6e 74 69 6c 20 |der give|n until |
|00001c90| 6f 6e 65 20 6f 66 20 74 | 68 65 6d 20 72 65 74 75 |one of t|hem retu|
|00001ca0| 72 6e 73 20 6e 6f 6e 2d | 6e 69 6c 2e 1f 0a 28 64 |rns non-|nil...(d|
|00001cb0| 65 66 76 61 72 20 66 69 | 6e 64 2d 66 69 6c 65 2d |efvar fi|nd-file-|
|00001cc0| 6e 6f 74 2d 66 6f 75 6e | 64 2d 68 6f 6f 6b 73 20 |not-foun|d-hooks |
|00001cd0| 6e 69 6c 20 28 23 24 20 | 2e 20 37 30 39 35 29 29 |nil (#$ |. 7095))|
|00001ce0| 0a 23 40 31 36 36 20 4c | 69 73 74 20 6f 66 20 66 |.#@166 L|ist of f|
|00001cf0| 75 6e 63 74 69 6f 6e 73 | 20 74 6f 20 62 65 20 63 |unctions| to be c|
|00001d00| 61 6c 6c 65 64 20 61 66 | 74 65 72 20 61 20 62 75 |alled af|ter a bu|
|00001d10| 66 66 65 72 20 69 73 20 | 6c 6f 61 64 65 64 20 66 |ffer is |loaded f|
|00001d20| 72 6f 6d 20 61 20 66 69 | 6c 65 2e 0a 54 68 65 20 |rom a fi|le..The |
|00001d30| 62 75 66 66 65 72 27 73 | 20 6c 6f 63 61 6c 20 76 |buffer's| local v|
|00001d40| 61 72 69 61 62 6c 65 73 | 20 28 69 66 20 61 6e 79 |ariables| (if any|
|00001d50| 29 20 77 69 6c 6c 20 68 | 61 76 65 20 62 65 65 6e |) will h|ave been|
|00001d60| 20 70 72 6f 63 65 73 73 | 65 64 20 62 65 66 6f 72 | process|ed befor|
|00001d70| 65 20 74 68 65 0a 66 75 | 6e 63 74 69 6f 6e 73 20 |e the.fu|nctions |
|00001d80| 61 72 65 20 63 61 6c 6c | 65 64 2e 1f 0a 28 64 65 |are call|ed...(de|
|00001d90| 66 76 61 72 20 66 69 6e | 64 2d 66 69 6c 65 2d 68 |fvar fin|d-file-h|
|00001da0| 6f 6f 6b 73 20 6e 69 6c | 20 28 23 24 20 2e 20 37 |ooks nil| (#$ . 7|
|00001db0| 33 39 39 29 29 0a 23 40 | 34 30 33 20 4c 69 73 74 |399)).#@|403 List|
|00001dc0| 20 6f 66 20 66 75 6e 63 | 74 69 6f 6e 73 20 74 6f | of func|tions to|
|00001dd0| 20 62 65 20 63 61 6c 6c | 65 64 20 62 65 66 6f 72 | be call|ed befor|
|00001de0| 65 20 77 72 69 74 69 6e | 67 20 6f 75 74 20 61 20 |e writin|g out a |
|00001df0| 62 75 66 66 65 72 20 74 | 6f 20 61 20 66 69 6c 65 |buffer t|o a file|
|00001e00| 2e 0a 49 66 20 6f 6e 65 | 20 6f 66 20 74 68 65 6d |..If one| of them|
|00001e10| 20 72 65 74 75 72 6e 73 | 20 6e 6f 6e 2d 6e 69 6c | returns| non-nil|
|00001e20| 2c 20 74 68 65 20 66 69 | 6c 65 20 69 73 20 63 6f |, the fi|le is co|
|00001e30| 6e 73 69 64 65 72 65 64 | 20 61 6c 72 65 61 64 79 |nsidered| already|
|00001e40| 20 77 72 69 74 74 65 6e | 0a 61 6e 64 20 74 68 65 | written|.and the|
|00001e50| 20 72 65 73 74 20 61 72 | 65 20 6e 6f 74 20 63 61 | rest ar|e not ca|
|00001e60| 6c 6c 65 64 2e 0a 54 68 | 65 73 65 20 68 6f 6f 6b |lled..Th|ese hook|
|00001e70| 73 20 61 72 65 20 63 6f | 6e 73 69 64 65 72 65 64 |s are co|nsidered|
|00001e80| 20 74 6f 20 70 65 72 74 | 61 69 6e 20 74 6f 20 74 | to pert|ain to t|
|00001e90| 68 65 20 76 69 73 69 74 | 65 64 20 66 69 6c 65 2e |he visit|ed file.|
|00001ea0| 0a 53 6f 20 74 68 69 73 | 20 6c 69 73 74 20 69 73 |.So this| list is|
|00001eb0| 20 63 6c 65 61 72 65 64 | 20 69 66 20 79 6f 75 20 | cleared| if you |
|00001ec0| 63 68 61 6e 67 65 20 74 | 68 65 20 76 69 73 69 74 |change t|he visit|
|00001ed0| 65 64 20 66 69 6c 65 20 | 6e 61 6d 65 2e 0a 0a 44 |ed file |name...D|
|00001ee0| 6f 6e 27 74 20 6d 61 6b | 65 20 74 68 69 73 20 76 |on't mak|e this v|
|00001ef0| 61 72 69 61 62 6c 65 20 | 62 75 66 66 65 72 2d 6c |ariable |buffer-l|
|00001f00| 6f 63 61 6c 3b 20 69 6e | 73 74 65 61 64 2c 20 75 |ocal; in|stead, u|
|00001f10| 73 65 20 60 6c 6f 63 61 | 6c 2d 77 72 69 74 65 2d |se `loca|l-write-|
|00001f20| 66 69 6c 65 2d 68 6f 6f | 6b 73 27 2e 0a 53 65 65 |file-hoo|ks'..See|
|00001f30| 20 61 6c 73 6f 20 60 77 | 72 69 74 65 2d 63 6f 6e | also `w|rite-con|
|00001f40| 74 65 6e 74 73 2d 68 6f | 6f 6b 73 27 2e 1f 0a 28 |tents-ho|oks'...(|
|00001f50| 64 65 66 76 61 72 20 77 | 72 69 74 65 2d 66 69 6c |defvar w|rite-fil|
|00001f60| 65 2d 68 6f 6f 6b 73 20 | 6e 69 6c 20 28 23 24 20 |e-hooks |nil (#$ |
|00001f70| 2e 20 37 36 31 32 29 29 | 0a 28 70 75 74 20 28 71 |. 7612))|.(put (q|
|00001f80| 75 6f 74 65 20 77 72 69 | 74 65 2d 66 69 6c 65 2d |uote wri|te-file-|
|00001f90| 68 6f 6f 6b 73 29 20 28 | 71 75 6f 74 65 20 70 65 |hooks) (|quote pe|
|00001fa0| 72 6d 61 6e 65 6e 74 2d | 6c 6f 63 61 6c 29 20 74 |rmanent-|local) t|
|00001fb0| 29 0a 23 40 33 38 32 20 | 4a 75 73 74 20 6c 69 6b |).#@382 |Just lik|
|00001fc0| 65 20 60 77 72 69 74 65 | 2d 66 69 6c 65 2d 68 6f |e `write|-file-ho|
|00001fd0| 6f 6b 73 27 2c 20 65 78 | 63 65 70 74 20 69 6e 74 |oks', ex|cept int|
|00001fe0| 65 6e 64 65 64 20 66 6f | 72 20 70 65 72 2d 62 75 |ended fo|r per-bu|
|00001ff0| 66 66 65 72 20 75 73 65 | 2e 0a 54 68 65 20 66 75 |ffer use|..The fu|
|00002000| 6e 63 74 69 6f 6e 73 20 | 69 6e 20 74 68 69 73 20 |nctions |in this |
|00002010| 6c 69 73 74 20 61 72 65 | 20 63 61 6c 6c 65 64 20 |list are| called |
|00002020| 62 65 66 6f 72 65 20 74 | 68 65 20 6f 6e 65 73 20 |before t|he ones |
|00002030| 69 6e 0a 60 77 72 69 74 | 65 2d 66 69 6c 65 2d 68 |in.`writ|e-file-h|
|00002040| 6f 6f 6b 73 27 2e 0a 0a | 54 68 69 73 20 76 61 72 |ooks'...|This var|
|00002050| 69 61 62 6c 65 20 69 73 | 20 6d 65 61 6e 74 20 74 |iable is| meant t|
|00002060| 6f 20 62 65 20 75 73 65 | 64 20 66 6f 72 20 68 6f |o be use|d for ho|
|00002070| 6f 6b 73 20 74 68 61 74 | 20 68 61 76 65 20 74 6f |oks that| have to|
|00002080| 20 64 6f 20 77 69 74 68 | 20 61 0a 70 61 72 74 69 | do with| a.parti|
|00002090| 63 75 6c 61 72 20 76 69 | 73 69 74 65 64 20 66 69 |cular vi|sited fi|
|000020a0| 6c 65 2e 20 20 54 68 65 | 72 65 66 6f 72 65 2c 20 |le. The|refore, |
|000020b0| 69 74 20 69 73 20 61 20 | 70 65 72 6d 61 6e 65 6e |it is a |permanen|
|000020c0| 74 20 6c 6f 63 61 6c 2c | 20 73 6f 20 74 68 61 74 |t local,| so that|
|000020d0| 0a 63 68 61 6e 67 69 6e | 67 20 74 68 65 20 6d 61 |.changin|g the ma|
|000020e0| 6a 6f 72 20 6d 6f 64 65 | 20 64 6f 65 73 20 6e 6f |jor mode| does no|
|000020f0| 74 20 63 6c 65 61 72 20 | 69 74 2e 20 20 48 6f 77 |t clear |it. How|
|00002100| 65 76 65 72 2c 20 63 61 | 6c 6c 69 6e 67 0a 60 73 |ever, ca|lling.`s|
|00002110| 65 74 2d 76 69 73 69 74 | 65 64 2d 66 69 6c 65 2d |et-visit|ed-file-|
|00002120| 6e 61 6d 65 27 20 64 6f | 65 73 20 63 6c 65 61 72 |name' do|es clear|
|00002130| 20 69 74 2e 1f 0a 28 64 | 65 66 76 61 72 20 6c 6f | it...(d|efvar lo|
|00002140| 63 61 6c 2d 77 72 69 74 | 65 2d 66 69 6c 65 2d 68 |cal-writ|e-file-h|
|00002150| 6f 6f 6b 73 20 6e 69 6c | 20 28 23 24 20 2e 20 38 |ooks nil| (#$ . 8|
|00002160| 31 32 30 29 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |120)).(b|yte-code|
|00002170| 20 22 c0 c1 21 88 c2 c1 | c3 c4 23 87 22 20 5b 6d | "..!...|..#." [m|
|00002180| 61 6b 65 2d 76 61 72 69 | 61 62 6c 65 2d 62 75 66 |ake-vari|able-buf|
|00002190| 66 65 72 2d 6c 6f 63 61 | 6c 20 6c 6f 63 61 6c 2d |fer-loca|l local-|
|000021a0| 77 72 69 74 65 2d 66 69 | 6c 65 2d 68 6f 6f 6b 73 |write-fi|le-hooks|
|000021b0| 20 70 75 74 20 70 65 72 | 6d 61 6e 65 6e 74 2d 6c | put per|manent-l|
|000021c0| 6f 63 61 6c 20 74 5d 20 | 34 29 0a 23 40 35 37 38 |ocal t] |4).#@578|
|000021d0| 20 4c 69 73 74 20 6f 66 | 20 66 75 6e 63 74 69 6f | List of| functio|
|000021e0| 6e 73 20 74 6f 20 62 65 | 20 63 61 6c 6c 65 64 20 |ns to be| called |
|000021f0| 62 65 66 6f 72 65 20 77 | 72 69 74 69 6e 67 20 6f |before w|riting o|
|00002200| 75 74 20 61 20 62 75 66 | 66 65 72 20 74 6f 20 61 |ut a buf|fer to a|
|00002210| 20 66 69 6c 65 2e 0a 49 | 66 20 6f 6e 65 20 6f 66 | file..I|f one of|
|00002220| 20 74 68 65 6d 20 72 65 | 74 75 72 6e 73 20 6e 6f | them re|turns no|
|00002230| 6e 2d 6e 69 6c 2c 20 74 | 68 65 20 66 69 6c 65 20 |n-nil, t|he file |
|00002240| 69 73 20 63 6f 6e 73 69 | 64 65 72 65 64 20 61 6c |is consi|dered al|
|00002250| 72 65 61 64 79 20 77 72 | 69 74 74 65 6e 0a 61 6e |ready wr|itten.an|
|00002260| 64 20 74 68 65 20 72 65 | 73 74 20 61 72 65 20 6e |d the re|st are n|
|00002270| 6f 74 20 63 61 6c 6c 65 | 64 2e 0a 0a 54 68 69 73 |ot calle|d...This|
|00002280| 20 76 61 72 69 61 62 6c | 65 20 69 73 20 6d 65 61 | variabl|e is mea|
|00002290| 6e 74 20 74 6f 20 62 65 | 20 75 73 65 64 20 66 6f |nt to be| used fo|
|000022a0| 72 20 68 6f 6f 6b 73 20 | 74 68 61 74 20 70 65 72 |r hooks |that per|
|000022b0| 74 61 69 6e 20 74 6f 20 | 74 68 65 0a 62 75 66 66 |tain to |the.buff|
|000022c0| 65 72 27 73 20 63 6f 6e | 74 65 6e 74 73 2c 20 6e |er's con|tents, n|
|000022d0| 6f 74 20 74 6f 20 74 68 | 65 20 70 61 72 74 69 63 |ot to th|e partic|
|000022e0| 75 6c 61 72 20 76 69 73 | 69 74 65 64 20 66 69 6c |ular vis|ited fil|
|000022f0| 65 3b 20 74 68 75 73 2c | 0a 60 73 65 74 2d 76 69 |e; thus,|.`set-vi|
|00002300| 73 69 74 65 64 2d 66 69 | 6c 65 2d 6e 61 6d 65 27 |sited-fi|le-name'|
|00002310| 20 64 6f 65 73 20 6e 6f | 74 20 63 6c 65 61 72 20 | does no|t clear |
|00002320| 74 68 69 73 20 76 61 72 | 69 61 62 6c 65 3b 20 62 |this var|iable; b|
|00002330| 75 74 20 63 68 61 6e 67 | 69 6e 67 20 74 68 65 0a |ut chang|ing the.|
|00002340| 6d 61 6a 6f 72 20 6d 6f | 64 65 20 64 6f 65 73 20 |major mo|de does |
|00002350| 63 6c 65 61 72 20 69 74 | 2e 0a 0a 54 68 69 73 20 |clear it|...This |
|00002360| 76 61 72 69 61 62 6c 65 | 20 61 75 74 6f 6d 61 74 |variable| automat|
|00002370| 69 63 61 6c 6c 79 20 62 | 65 63 6f 6d 65 73 20 62 |ically b|ecomes b|
|00002380| 75 66 66 65 72 2d 6c 6f | 63 61 6c 20 77 68 65 6e |uffer-lo|cal when|
|00002390| 65 76 65 72 20 69 74 20 | 69 73 20 73 65 74 2e 0a |ever it |is set..|
|000023a0| 49 66 20 79 6f 75 20 75 | 73 65 20 60 61 64 64 2d |If you u|se `add-|
|000023b0| 68 6f 6f 6b 73 27 20 74 | 6f 20 61 64 64 20 65 6c |hooks' t|o add el|
|000023c0| 65 6d 65 6e 74 73 20 74 | 6f 20 74 68 65 20 6c 69 |ements t|o the li|
|000023d0| 73 74 2c 20 75 73 65 20 | 6e 69 6c 20 66 6f 72 20 |st, use |nil for |
|000023e0| 74 68 65 0a 4c 4f 43 41 | 4c 20 61 72 67 75 6d 65 |the.LOCA|L argume|
|000023f0| 6e 74 2e 0a 0a 53 65 65 | 20 61 6c 73 6f 20 60 77 |nt...See| also `w|
|00002400| 72 69 74 65 2d 66 69 6c | 65 2d 68 6f 6f 6b 73 27 |rite-fil|e-hooks'|
|00002410| 2e 1f 0a 28 64 65 66 76 | 61 72 20 77 72 69 74 65 |...(defv|ar write|
|00002420| 2d 63 6f 6e 74 65 6e 74 | 73 2d 68 6f 6f 6b 73 20 |-content|s-hooks |
|00002430| 6e 69 6c 20 28 23 24 20 | 2e 20 38 36 35 37 29 29 |nil (#$ |. 8657))|
|00002440| 0a 28 6d 61 6b 65 2d 76 | 61 72 69 61 62 6c 65 2d |.(make-v|ariable-|
|00002450| 62 75 66 66 65 72 2d 6c | 6f 63 61 6c 20 28 71 75 |buffer-l|ocal (qu|
|00002460| 6f 74 65 20 77 72 69 74 | 65 2d 63 6f 6e 74 65 6e |ote writ|e-conten|
|00002470| 74 73 2d 68 6f 6f 6b 73 | 29 29 0a 23 40 33 30 30 |ts-hooks|)).#@300|
|00002480| 20 2a 43 6f 6e 74 72 6f | 6c 20 75 73 65 20 6f 66 | *Contro|l use of|
|00002490| 20 6c 6f 63 61 6c 2d 76 | 61 72 69 61 62 6c 65 73 | local-v|ariables|
|000024a0| 20 6c 69 73 74 73 20 69 | 6e 20 66 69 6c 65 73 20 | lists i|n files |
|000024b0| 79 6f 75 20 76 69 73 69 | 74 2e 0a 54 68 65 20 76 |you visi|t..The v|
|000024c0| 61 6c 75 65 20 63 61 6e | 20 62 65 20 74 2c 20 6e |alue can| be t, n|
|000024d0| 69 6c 20 6f 72 20 73 6f | 6d 65 74 68 69 6e 67 20 |il or so|mething |
|000024e0| 65 6c 73 65 2e 0a 41 20 | 76 61 6c 75 65 20 6f 66 |else..A |value of|
|000024f0| 20 74 20 6d 65 61 6e 73 | 20 6c 6f 63 61 6c 2d 76 | t means| local-v|
|00002500| 61 72 69 61 62 6c 65 73 | 20 6c 69 73 74 73 20 61 |ariables| lists a|
|00002510| 72 65 20 6f 62 65 79 65 | 64 3b 0a 6e 69 6c 20 6d |re obeye|d;.nil m|
|00002520| 65 61 6e 73 20 74 68 65 | 79 20 61 72 65 20 69 67 |eans the|y are ig|
|00002530| 6e 6f 72 65 64 3b 20 61 | 6e 79 74 68 69 6e 67 20 |nored; a|nything |
|00002540| 65 6c 73 65 20 6d 65 61 | 6e 73 20 71 75 65 72 79 |else mea|ns query|
|00002550| 2e 0a 0a 54 68 65 20 63 | 6f 6d 6d 61 6e 64 20 5c |...The c|ommand \|
|00002560| 5b 6e 6f 72 6d 61 6c 2d | 6d 6f 64 65 5d 20 61 6c |[normal-|mode] al|
|00002570| 77 61 79 73 20 6f 62 65 | 79 73 20 6c 6f 63 61 6c |ways obe|ys local|
|00002580| 2d 76 61 72 69 61 62 6c | 65 73 20 6c 69 73 74 73 |-variabl|es lists|
|00002590| 0a 61 6e 64 20 69 67 6e | 6f 72 65 73 20 74 68 69 |.and ign|ores thi|
|000025a0| 73 20 76 61 72 69 61 62 | 6c 65 2e 1f 0a 28 64 65 |s variab|le...(de|
|000025b0| 66 63 6f 6e 73 74 20 65 | 6e 61 62 6c 65 2d 6c 6f |fconst e|nable-lo|
|000025c0| 63 61 6c 2d 76 61 72 69 | 61 62 6c 65 73 20 74 20 |cal-vari|ables t |
|000025d0| 28 23 24 20 2e 20 2d 39 | 33 34 35 29 29 0a 23 40 |(#$ . -9|345)).#@|
|000025e0| 33 30 30 20 2a 43 6f 6e | 74 72 6f 6c 20 70 72 6f |300 *Con|trol pro|
|000025f0| 63 65 73 73 69 6e 67 20 | 6f 66 20 74 68 65 20 22 |cessing |of the "|
|00002600| 76 61 72 69 61 62 6c 65 | 22 20 60 65 76 61 6c 27 |variable|" `eval'|
|00002610| 20 69 6e 20 61 20 66 69 | 6c 65 27 73 20 6c 6f 63 | in a fi|le's loc|
|00002620| 61 6c 20 76 61 72 69 61 | 62 6c 65 73 2e 0a 54 68 |al varia|bles..Th|
|00002630| 65 20 76 61 6c 75 65 20 | 63 61 6e 20 62 65 20 74 |e value |can be t|
|00002640| 2c 20 6e 69 6c 20 6f 72 | 20 73 6f 6d 65 74 68 69 |, nil or| somethi|
|00002650| 6e 67 20 65 6c 73 65 2e | 0a 41 20 76 61 6c 75 65 |ng else.|.A value|
|00002660| 20 6f 66 20 74 20 6d 65 | 61 6e 73 20 6f 62 65 79 | of t me|ans obey|
|00002670| 20 60 65 76 61 6c 27 20 | 76 61 72 69 61 62 6c 65 | `eval' |variable|
|00002680| 73 3b 0a 6e 69 6c 20 6d | 65 61 6e 73 20 69 67 6e |s;.nil m|eans ign|
|00002690| 6f 72 65 20 74 68 65 6d | 3b 20 61 6e 79 74 68 69 |ore them|; anythi|
|000026a0| 6e 67 20 65 6c 73 65 20 | 6d 65 61 6e 73 20 71 75 |ng else |means qu|
|000026b0| 65 72 79 2e 0a 0a 54 68 | 65 20 63 6f 6d 6d 61 6e |ery...Th|e comman|
|000026c0| 64 20 5c 5b 6e 6f 72 6d | 61 6c 2d 6d 6f 64 65 5d |d \[norm|al-mode]|
|000026d0| 20 61 6c 77 61 79 73 20 | 6f 62 65 79 73 20 6c 6f | always |obeys lo|
|000026e0| 63 61 6c 2d 76 61 72 69 | 61 62 6c 65 73 20 6c 69 |cal-vari|ables li|
|000026f0| 73 74 73 0a 61 6e 64 20 | 69 67 6e 6f 72 65 73 20 |sts.and |ignores |
|00002700| 74 68 69 73 20 76 61 72 | 69 61 62 6c 65 2e 1f 0a |this var|iable...|
|00002710| 28 64 65 66 63 6f 6e 73 | 74 20 65 6e 61 62 6c 65 |(defcons|t enable|
|00002720| 2d 6c 6f 63 61 6c 2d 65 | 76 61 6c 20 28 71 75 6f |-local-e|val (quo|
|00002730| 74 65 20 6d 61 79 62 65 | 29 20 28 23 24 20 2e 20 |te maybe|) (#$ . |
|00002740| 2d 39 37 30 30 29 29 0a | 28 62 79 74 65 2d 63 6f |-9700)).|(byte-co|
|00002750| 64 65 20 22 c0 c1 21 84 | 0b 00 c2 c1 c3 5c 22 88 |de "..!.|.....\".|
|00002760| c0 c4 21 84 16 00 c2 c4 | c3 5c 22 88 c0 87 22 20 |..!.....|.\"..." |
|00002770| 5b 66 62 6f 75 6e 64 70 | 20 6c 6f 63 6b 2d 62 75 |[fboundp| lock-bu|
|00002780| 66 66 65 72 20 64 65 66 | 61 6c 69 61 73 20 69 67 |ffer def|alias ig|
|00002790| 6e 6f 72 65 20 75 6e 6c | 6f 63 6b 2d 62 75 66 66 |nore unl|ock-buff|
|000027a0| 65 72 5d 20 33 29 0a 28 | 64 65 66 61 6c 69 61 73 |er] 3).(|defalias|
|000027b0| 20 27 61 6e 67 65 2d 66 | 74 70 2d 63 6f 6d 70 6c | 'ange-f|tp-compl|
|000027c0| 65 74 69 6f 6e 2d 68 6f | 6f 6b 2d 66 75 6e 63 74 |etion-ho|ok-funct|
|000027d0| 69 6f 6e 20 23 5b 28 6f | 70 20 26 72 65 73 74 20 |ion #[(o|p &rest |
|000027e0| 61 72 67 73 29 20 22 08 | c1 3e 83 5c 66 00 c2 c3 |args) ".|.>.\f...|
|000027f0| 08 5c 66 23 87 c5 0e 06 | 08 3d 85 16 00 0e 07 42 |.\f#....|.=.....B|
|00002800| 08 1e 06 1e 07 c2 08 5c | 66 5c 22 2a 87 22 20 5b |.......\|f\"*." [|
|00002810| 6f 70 20 28 66 69 6c 65 | 2d 6e 61 6d 65 2d 63 6f |op (file|-name-co|
|00002820| 6d 70 6c 65 74 69 6f 6e | 20 66 69 6c 65 2d 6e 61 |mpletion| file-na|
|00002830| 6d 65 2d 61 6c 6c 2d 63 | 6f 6d 70 6c 65 74 69 6f |me-all-c|ompletio|
|00002840| 6e 73 29 20 61 70 70 6c | 79 20 61 6e 67 65 2d 66 |ns) appl|y ange-f|
|00002850| 74 70 2d 68 6f 6f 6b 2d | 66 75 6e 63 74 69 6f 6e |tp-hook-|function|
|00002860| 20 61 72 67 73 20 61 6e | 67 65 2d 66 74 70 2d 63 | args an|ge-ftp-c|
|00002870| 6f 6d 70 6c 65 74 69 6f | 6e 2d 68 6f 6f 6b 2d 66 |ompletio|n-hook-f|
|00002880| 75 6e 63 74 69 6f 6e 20 | 69 6e 68 69 62 69 74 2d |unction |inhibit-|
|00002890| 66 69 6c 65 2d 6e 61 6d | 65 2d 6f 70 65 72 61 74 |file-nam|e-operat|
|000028a0| 69 6f 6e 20 69 6e 68 69 | 62 69 74 2d 66 69 6c 65 |ion inhi|bit-file|
|000028b0| 2d 6e 61 6d 65 2d 68 61 | 6e 64 6c 65 72 73 5d 20 |-name-ha|ndlers] |
|000028c0| 34 5d 29 0a 23 40 32 36 | 33 20 43 6f 6e 76 65 72 |4]).#@26|3 Conver|
|000028d0| 74 20 61 20 73 74 61 6e | 64 61 72 64 20 66 69 6c |t a stan|dard fil|
|000028e0| 65 27 73 20 6e 61 6d 65 | 20 74 6f 20 73 6f 6d 65 |e's name| to some|
|000028f0| 74 68 69 6e 67 20 73 75 | 69 74 61 62 6c 65 20 66 |thing su|itable f|
|00002900| 6f 72 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 4f |or the c|urrent O|
|00002910| 53 2e 0a 54 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |S..This |function|
|00002920| 27 73 20 73 74 61 6e 64 | 61 72 64 20 64 65 66 69 |'s stand|ard defi|
|00002930| 6e 69 74 69 6f 6e 20 69 | 73 20 74 72 69 76 69 61 |nition i|s trivia|
|00002940| 6c 3b 20 69 74 20 6a 75 | 73 74 20 72 65 74 75 72 |l; it ju|st retur|
|00002950| 6e 73 20 74 68 65 20 61 | 72 67 75 6d 65 6e 74 2e |ns the a|rgument.|
|00002960| 0a 48 6f 77 65 76 65 72 | 2c 20 6f 6e 20 73 6f 6d |.However|, on som|
|00002970| 65 20 73 79 73 74 65 6d | 73 2c 20 74 68 65 20 66 |e system|s, the f|
|00002980| 75 6e 63 74 69 6f 6e 20 | 69 73 20 72 65 64 65 66 |unction |is redef|
|00002990| 69 6e 65 64 0a 77 69 74 | 68 20 61 20 64 65 66 69 |ined.wit|h a defi|
|000029a0| 6e 69 74 69 6f 6e 20 74 | 68 61 74 20 72 65 61 6c |nition t|hat real|
|000029b0| 6c 79 20 64 6f 65 73 20 | 63 68 61 6e 67 65 20 73 |ly does |change s|
|000029c0| 6f 6d 65 20 66 69 6c 65 | 20 6e 61 6d 65 73 2e 1f |ome file| names..|
|000029d0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 63 6f 6e 76 |.(defali|as 'conv|
|000029e0| 65 72 74 2d 73 74 61 6e | 64 61 72 64 2d 66 69 6c |ert-stan|dard-fil|
|000029f0| 65 6e 61 6d 65 20 23 5b | 28 66 69 6c 65 6e 61 6d |ename #[|(filenam|
|00002a00| 65 29 20 22 08 87 22 20 | 5b 66 69 6c 65 6e 61 6d |e) ".." |[filenam|
|00002a10| 65 5d 20 31 20 28 23 24 | 20 2e 20 31 30 34 34 32 |e] 1 (#$| . 10442|
|00002a20| 29 5d 29 0a 23 40 33 37 | 20 53 68 6f 77 20 74 68 |)]).#@37| Show th|
|00002a30| 65 20 63 75 72 72 65 6e | 74 20 64 65 66 61 75 6c |e curren|t defaul|
|00002a40| 74 20 64 69 72 65 63 74 | 6f 72 79 2e 1f 0a 28 64 |t direct|ory...(d|
|00002a50| 65 66 61 6c 69 61 73 20 | 27 70 77 64 20 23 5b 6e |efalias |'pwd #[n|
|00002a60| 69 6c 20 22 c0 c1 5c 6e | 5c 22 87 22 20 5b 6d 65 |il "..\n|\"." [me|
|00002a70| 73 73 61 67 65 20 22 44 | 69 72 65 63 74 6f 72 79 |ssage "D|irectory|
|00002a80| 20 25 73 22 20 64 65 66 | 61 75 6c 74 2d 64 69 72 | %s" def|ault-dir|
|00002a90| 65 63 74 6f 72 79 5d 20 | 33 20 28 23 24 20 2e 20 |ectory] |3 (#$ . |
|00002aa0| 31 30 37 39 33 29 20 6e | 69 6c 5d 29 0a 23 40 31 |10793) n|il]).#@1|
|00002ab0| 31 31 20 56 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |11 Value| of the |
|00002ac0| 43 44 50 41 54 48 20 65 | 6e 76 69 72 6f 6e 6d 65 |CDPATH e|nvironme|
|00002ad0| 6e 74 20 76 61 72 69 61 | 62 6c 65 2c 20 61 73 20 |nt varia|ble, as |
|00002ae0| 61 20 6c 69 73 74 2e 0a | 4e 6f 74 20 61 63 74 75 |a list..|Not actu|
|00002af0| 61 6c 6c 79 20 73 65 74 | 20 75 70 20 75 6e 74 69 |ally set| up unti|
|00002b00| 6c 20 74 68 65 20 66 69 | 72 73 74 20 74 69 6d 65 |l the fi|rst time|
|00002b10| 20 79 6f 75 20 79 6f 75 | 20 75 73 65 20 69 74 2e | you you| use it.|
|00002b20| 1f 0a 28 64 65 66 76 61 | 72 20 63 64 2d 70 61 74 |..(defva|r cd-pat|
|00002b30| 68 20 6e 69 6c 20 28 23 | 24 20 2e 20 31 30 39 33 |h nil (#|$ . 1093|
|00002b40| 31 29 29 0a 23 40 34 38 | 20 43 68 61 72 61 63 74 |1)).#@48| Charact|
|00002b50| 65 72 20 75 73 65 64 20 | 74 6f 20 73 65 70 61 72 |er used |to separ|
|00002b60| 61 74 65 20 63 6f 6e 63 | 61 74 65 6e 61 74 65 64 |ate conc|atenated|
|00002b70| 20 70 61 74 68 73 2e 1f | 0a 28 64 65 66 76 61 72 | paths..|.(defvar|
|00002b80| 20 70 61 74 68 2d 73 65 | 70 61 72 61 74 6f 72 20 | path-se|parator |
|00002b90| 22 3a 22 20 28 23 24 20 | 2e 20 31 31 30 38 31 29 |":" (#$ |. 11081)|
|00002ba0| 29 0a 23 40 36 31 20 45 | 78 70 6c 6f 64 65 20 61 |).#@61 E|xplode a|
|00002bb0| 20 63 6f 6c 6f 6e 2d 73 | 65 70 61 72 61 74 65 64 | colon-s|eparated|
|00002bc0| 20 6c 69 73 74 20 6f 66 | 20 70 61 74 68 73 20 69 | list of| paths i|
|00002bd0| 6e 74 6f 20 61 20 73 74 | 72 69 6e 67 20 6c 69 73 |nto a st|ring lis|
|00002be0| 74 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 70 |t...(def|alias 'p|
|00002bf0| 61 72 73 65 2d 63 6f 6c | 6f 6e 2d 70 61 74 68 20 |arse-col|on-path |
|00002c00| 23 5b 28 63 64 2d 70 61 | 74 68 29 20 22 08 85 39 |#[(cd-pa|th) "..9|
|00002c10| 00 c1 89 c2 c1 1b 1c 1d | 1e 06 08 0e 07 50 10 c8 |........|.....P..|
|00002c20| 0e 07 08 5c 66 23 89 13 | 83 37 00 0d 5c 66 0b 55 |...\f#..|.7..\f.U|
|00002c30| 3f 85 2d 00 c9 ca 08 5c | 66 0b 4f 21 21 43 a4 15 |?.-....\|f.O!!C..|
|00002c40| 0b cb 5c 5c 14 82 12 00 | 0d 2c 87 22 20 5b 63 64 |..\\....|.,." [cd|
|00002c50| 2d 70 61 74 68 20 6e 69 | 6c 20 30 20 63 64 2d 63 |-path ni|l 0 cd-c|
|00002c60| 6f 6c 6f 6e 20 63 64 2d | 73 74 61 72 74 20 63 64 |olon cd-|start cd|
|00002c70| 2d 6c 69 73 74 20 63 64 | 2d 70 72 65 66 69 78 20 |-list cd|-prefix |
|00002c80| 70 61 74 68 2d 73 65 70 | 61 72 61 74 6f 72 20 73 |path-sep|arator s|
|00002c90| 74 72 69 6e 67 2d 6d 61 | 74 63 68 20 73 75 62 73 |tring-ma|tch subs|
|00002ca0| 74 69 74 75 74 65 2d 69 | 6e 2d 66 69 6c 65 2d 6e |titute-i|n-file-n|
|00002cb0| 61 6d 65 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 61 73 |ame file|-name-as|
|00002cc0| 2d 64 69 72 65 63 74 6f | 72 79 20 31 5d 20 36 20 |-directo|ry 1] 6 |
|00002cd0| 28 23 24 20 2e 20 31 31 | 31 37 35 29 5d 29 0a 23 |(#$ . 11|175)]).#|
|00002ce0| 40 35 39 20 43 68 61 6e | 67 65 20 63 75 72 72 65 |@59 Chan|ge curre|
|00002cf0| 6e 74 20 64 69 72 65 63 | 74 6f 72 79 20 74 6f 20 |nt direc|tory to |
|00002d00| 67 69 76 65 6e 20 61 62 | 73 6f 6c 75 74 65 20 66 |given ab|solute f|
|00002d10| 69 6c 65 20 6e 61 6d 65 | 20 44 49 52 2e 1f 0a 28 |ile name| DIR...(|
|00002d20| 64 65 66 61 6c 69 61 73 | 20 27 63 64 2d 61 62 73 |defalias| 'cd-abs|
|00002d30| 6f 6c 75 74 65 20 23 5b | 28 64 69 72 29 20 22 08 |olute #[|(dir) ".|
|00002d40| c1 3d 84 5c 6e 00 c2 0b | 21 13 c4 c5 0b 21 21 13 |.=.\n...|!....!!.|
|00002d50| c6 0b 21 84 1b 00 c7 c8 | 0b 5c 22 87 c9 0b 21 83 |..!.....|.\"...!.|
|00002d60| 26 00 0b 89 16 5c 6e 87 | c7 cb 0b 5c 22 87 22 20 |&....\n.|...\"." |
|00002d70| 5b 73 79 73 74 65 6d 2d | 74 79 70 65 20 76 61 78 |[system-|type vax|
|00002d80| 2d 76 6d 73 20 66 69 6c | 65 2d 6e 61 6d 65 2d 61 |-vms fil|e-name-a|
|00002d90| 73 2d 64 69 72 65 63 74 | 6f 72 79 20 64 69 72 20 |s-direct|ory dir |
|00002da0| 61 62 62 72 65 76 69 61 | 74 65 2d 66 69 6c 65 2d |abbrevia|te-file-|
|00002db0| 6e 61 6d 65 20 65 78 70 | 61 6e 64 2d 66 69 6c 65 |name exp|and-file|
|00002dc0| 2d 6e 61 6d 65 20 66 69 | 6c 65 2d 64 69 72 65 63 |-name fi|le-direc|
|00002dd0| 74 6f 72 79 2d 70 20 65 | 72 72 6f 72 20 22 25 73 |tory-p e|rror "%s|
|00002de0| 20 69 73 20 6e 6f 74 20 | 61 20 64 69 72 65 63 74 | is not |a direct|
|00002df0| 6f 72 79 22 20 66 69 6c | 65 2d 65 78 65 63 75 74 |ory" fil|e-execut|
|00002e00| 61 62 6c 65 2d 70 20 64 | 65 66 61 75 6c 74 2d 64 |able-p d|efault-d|
|00002e10| 69 72 65 63 74 6f 72 79 | 20 22 43 61 6e 6e 6f 74 |irectory| "Cannot|
|00002e20| 20 63 64 20 74 6f 20 25 | 73 3a 20 20 50 65 72 6d | cd to %|s: Perm|
|00002e30| 69 73 73 69 6f 6e 20 64 | 65 6e 69 65 64 22 5d 20 |ission d|enied"] |
|00002e40| 33 20 28 23 24 20 2e 20 | 31 31 34 39 32 29 5d 29 |3 (#$ . |11492)])|
|00002e50| 0a 23 40 32 30 36 20 4d | 61 6b 65 20 44 49 52 20 |.#@206 M|ake DIR |
|00002e60| 62 65 63 6f 6d 65 20 74 | 68 65 20 63 75 72 72 65 |become t|he curre|
|00002e70| 6e 74 20 62 75 66 66 65 | 72 27 73 20 64 65 66 61 |nt buffe|r's defa|
|00002e80| 75 6c 74 20 64 69 72 65 | 63 74 6f 72 79 2e 0a 49 |ult dire|ctory..I|
|00002e90| 66 20 79 6f 75 72 20 65 | 6e 76 69 72 6f 6e 6d 65 |f your e|nvironme|
|00002ea0| 6e 74 20 69 6e 63 6c 75 | 64 65 73 20 61 20 60 43 |nt inclu|des a `C|
|00002eb0| 44 50 41 54 48 27 20 76 | 61 72 69 61 62 6c 65 2c |DPATH' v|ariable,|
|00002ec0| 20 74 72 79 20 65 61 63 | 68 20 6f 6e 65 20 6f 66 | try eac|h one of|
|00002ed0| 20 74 68 61 74 0a 63 6f | 6c 6f 6e 2d 73 65 70 61 | that.co|lon-sepa|
|00002ee0| 72 61 74 65 64 20 6c 69 | 73 74 20 6f 66 20 64 69 |rated li|st of di|
|00002ef0| 72 65 63 74 6f 72 69 65 | 73 20 77 68 65 6e 20 72 |rectorie|s when r|
|00002f00| 65 73 6f 6c 76 69 6e 67 | 20 61 20 72 65 6c 61 74 |esolving| a relat|
|00002f10| 69 76 65 20 64 69 72 65 | 63 74 6f 72 79 20 6e 61 |ive dire|ctory na|
|00002f20| 6d 65 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |me...(de|falias '|
|00002f30| 63 64 20 23 5b 28 64 69 | 72 29 20 22 c0 09 21 83 |cd #[(di|r) "..!.|
|00002f40| 5c 66 00 c2 c3 09 21 21 | 87 5c 66 84 1f 00 c5 c6 |\f....!!|.\f.....|
|00002f50| c7 21 21 89 1e 08 86 1d | 00 c9 43 14 29 ca cb 8d |.!!.....|..C.)...|
|00002f60| 3f 85 29 00 cc cd 21 87 | 22 20 5b 66 69 6c 65 2d |?.)...!.|" [file-|
|00002f70| 6e 61 6d 65 2d 61 62 73 | 6f 6c 75 74 65 2d 70 20 |name-abs|olute-p |
|00002f80| 64 69 72 20 63 64 2d 61 | 62 73 6f 6c 75 74 65 20 |dir cd-a|bsolute |
|00002f90| 65 78 70 61 6e 64 2d 66 | 69 6c 65 2d 6e 61 6d 65 |expand-f|ile-name|
|00002fa0| 20 63 64 2d 70 61 74 68 | 20 70 61 72 73 65 2d 63 | cd-path| parse-c|
|00002fb0| 6f 6c 6f 6e 2d 70 61 74 | 68 20 67 65 74 65 6e 76 |olon-pat|h getenv|
|00002fc0| 20 22 43 44 50 41 54 48 | 22 20 74 72 79 70 61 74 | "CDPATH|" trypat|
|00002fd0| 68 20 22 2e 2f 22 20 66 | 6f 75 6e 64 20 28 62 79 |h "./" f|ound (by|
|00002fe0| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 5c 6e 5c 22 88 |te-code |"..\n\".|
|00002ff0| c3 87 22 20 5b 6d 61 70 | 63 61 72 20 23 5b 28 78 |.." [map|car #[(x|
|00003000| 29 20 22 c0 09 5c 6e 50 | 21 1b c4 0b 21 85 14 00 |) "..\nP|!...!...|
|00003010| c5 0b 21 88 c6 c7 c8 5c | 22 29 87 22 20 5b 65 78 |..!....\|")." [ex|
|00003020| 70 61 6e 64 2d 66 69 6c | 65 2d 6e 61 6d 65 20 78 |pand-fil|e-name x|
|00003030| 20 64 69 72 20 66 20 66 | 69 6c 65 2d 64 69 72 65 | dir f f|ile-dire|
|00003040| 63 74 6f 72 79 2d 70 20 | 63 64 2d 61 62 73 6f 6c |ctory-p |cd-absol|
|00003050| 75 74 65 20 74 68 72 6f | 77 20 66 6f 75 6e 64 20 |ute thro|w found |
|00003060| 74 5d 20 33 5d 20 63 64 | 2d 70 61 74 68 20 6e 69 |t] 3] cd|-path ni|
|00003070| 6c 5d 20 33 29 20 65 72 | 72 6f 72 20 22 4e 6f 20 |l] 3) er|ror "No |
|00003080| 73 75 63 68 20 64 69 72 | 65 63 74 6f 72 79 20 66 |such dir|ectory f|
|00003090| 6f 75 6e 64 20 76 69 61 | 20 43 44 50 41 54 48 20 |ound via| CDPATH |
|000030a0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 76 61 72 69 |environm|ent vari|
|000030b0| 61 62 6c 65 22 5d 20 34 | 20 28 23 24 20 2e 20 31 |able"] 4| (#$ . 1|
|000030c0| 31 38 36 33 29 20 28 6c | 69 73 74 20 28 72 65 61 |1863) (l|ist (rea|
|000030d0| 64 2d 66 69 6c 65 2d 6e | 61 6d 65 20 22 43 68 61 |d-file-n|ame "Cha|
|000030e0| 6e 67 65 20 64 65 66 61 | 75 6c 74 20 64 69 72 65 |nge defa|ult dire|
|000030f0| 63 74 6f 72 79 3a 20 22 | 20 64 65 66 61 75 6c 74 |ctory: "| default|
|00003100| 2d 64 69 72 65 63 74 6f | 72 79 20 64 65 66 61 75 |-directo|ry defau|
|00003110| 6c 74 2d 64 69 72 65 63 | 74 6f 72 79 20 28 61 6e |lt-direc|tory (an|
|00003120| 64 20 28 6d 65 6d 62 65 | 72 20 63 64 2d 70 61 74 |d (membe|r cd-pat|
|00003130| 68 20 28 71 75 6f 74 65 | 20 28 6e 69 6c 20 28 22 |h (quote| (nil ("|
|00003140| 2e 2f 22 29 29 29 29 20 | 28 6e 75 6c 6c 20 28 67 |./")))) |(null (g|
|00003150| 65 74 65 6e 76 20 22 43 | 44 50 41 54 48 22 29 29 |etenv "C|DPATH"))|
|00003160| 29 29 29 5d 29 0a 23 40 | 33 32 20 4c 6f 61 64 20 |)))]).#@|32 Load |
|00003170| 74 68 65 20 4c 69 73 70 | 20 66 69 6c 65 20 6e 61 |the Lisp| file na|
|00003180| 6d 65 64 20 46 49 4c 45 | 2e 1f 0a 28 64 65 66 61 |med FILE|...(defa|
|00003190| 6c 69 61 73 20 27 6c 6f | 61 64 2d 66 69 6c 65 20 |lias 'lo|ad-file |
|000031a0| 23 5b 28 66 69 6c 65 29 | 20 22 c0 c1 5c 6e 21 c3 |#[(file)| "..\n!.|
|000031b0| 89 c4 24 87 22 20 5b 6c | 6f 61 64 20 65 78 70 61 |..$." [l|oad expa|
|000031c0| 6e 64 2d 66 69 6c 65 2d | 6e 61 6d 65 20 66 69 6c |nd-file-|name fil|
|000031d0| 65 20 6e 69 6c 20 74 5d | 20 35 20 28 23 24 20 2e |e nil t]| 5 (#$ .|
|000031e0| 20 31 32 36 35 31 29 20 | 22 66 4c 6f 61 64 20 66 | 12651) |"fLoad f|
|000031f0| 69 6c 65 3a 20 22 5d 29 | 0a 23 40 37 38 20 4c 6f |ile: "])|.#@78 Lo|
|00003200| 61 64 20 74 68 65 20 6c | 69 62 72 61 72 79 20 6e |ad the l|ibrary n|
|00003210| 61 6d 65 64 20 4c 49 42 | 52 41 52 59 2e 0a 54 68 |amed LIB|RARY..Th|
|00003220| 69 73 20 69 73 20 61 6e | 20 69 6e 74 65 72 66 61 |is is an| interfa|
|00003230| 63 65 20 74 6f 20 74 68 | 65 20 66 75 6e 63 74 69 |ce to th|e functi|
|00003240| 6f 6e 20 60 6c 6f 61 64 | 27 2e 1f 0a 28 64 65 66 |on `load|'...(def|
|00003250| 61 6c 69 61 73 20 27 6c | 6f 61 64 2d 6c 69 62 72 |alias 'l|oad-libr|
|00003260| 61 72 79 20 23 5b 28 6c | 69 62 72 61 72 79 29 20 |ary #[(l|ibrary) |
|00003270| 22 c0 09 21 87 22 20 5b | 6c 6f 61 64 20 6c 69 62 |"..!." [|load lib|
|00003280| 72 61 72 79 5d 20 32 20 | 28 23 24 20 2e 20 31 32 |rary] 2 |(#$ . 12|
|00003290| 37 39 38 29 20 22 73 4c | 6f 61 64 20 6c 69 62 72 |798) "sL|oad libr|
|000032a0| 61 72 79 3a 20 22 5d 29 | 0a 23 40 31 33 35 20 43 |ary: "])|.#@135 C|
|000032b0| 6f 70 79 20 74 68 65 20 | 66 69 6c 65 20 46 49 4c |opy the |file FIL|
|000032c0| 45 20 69 6e 74 6f 20 61 | 20 74 65 6d 70 6f 72 61 |E into a| tempora|
|000032d0| 72 79 20 66 69 6c 65 20 | 6f 6e 20 74 68 69 73 20 |ry file |on this |
|000032e0| 6d 61 63 68 69 6e 65 2e | 0a 52 65 74 75 72 6e 73 |machine.|.Returns|
|000032f0| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|00003300| 20 6c 6f 63 61 6c 20 63 | 6f 70 79 2c 20 6f 72 20 | local c|opy, or |
|00003310| 6e 69 6c 2c 20 69 66 20 | 46 49 4c 45 20 69 73 20 |nil, if |FILE is |
|00003320| 64 69 72 65 63 74 6c 79 | 0a 61 63 63 65 73 73 69 |directly|.accessi|
|00003330| 62 6c 65 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ble...(d|efalias |
|00003340| 27 66 69 6c 65 2d 6c 6f | 63 61 6c 2d 63 6f 70 79 |'file-lo|cal-copy|
|00003350| 20 23 5b 28 66 69 6c 65 | 20 26 6f 70 74 69 6f 6e | #[(file| &option|
|00003360| 61 6c 20 62 75 66 66 65 | 72 29 20 22 c0 09 c2 5c |al buffe|r) "...\|
|00003370| 22 89 1b 85 0d 00 0b c2 | 09 5c 22 29 87 22 20 5b |".......|.\")." [|
|00003380| 66 69 6e 64 2d 66 69 6c | 65 2d 6e 61 6d 65 2d 68 |find-fil|e-name-h|
|00003390| 61 6e 64 6c 65 72 20 66 | 69 6c 65 20 66 69 6c 65 |andler f|ile file|
|000033a0| 2d 6c 6f 63 61 6c 2d 63 | 6f 70 79 20 68 61 6e 64 |-local-c|opy hand|
|000033b0| 6c 65 72 5d 20 34 20 28 | 23 24 20 2e 20 31 32 39 |ler] 4 (|#$ . 129|
|000033c0| 37 35 29 5d 29 0a 23 40 | 33 34 39 20 52 65 74 75 |75)]).#@|349 Retu|
|000033d0| 72 6e 20 74 68 65 20 74 | 72 75 65 6e 61 6d 65 20 |rn the t|ruename |
|000033e0| 6f 66 20 46 49 4c 45 4e | 41 4d 45 2c 20 77 68 69 |of FILEN|AME, whi|
|000033f0| 63 68 20 73 68 6f 75 6c | 64 20 62 65 20 61 62 73 |ch shoul|d be abs|
|00003400| 6f 6c 75 74 65 2e 0a 54 | 68 65 20 74 72 75 65 6e |olute..T|he truen|
|00003410| 61 6d 65 20 6f 66 20 61 | 20 66 69 6c 65 20 6e 61 |ame of a| file na|
|00003420| 6d 65 20 69 73 20 66 6f | 75 6e 64 20 62 79 20 63 |me is fo|und by c|
|00003430| 68 61 73 69 6e 67 20 73 | 79 6d 62 6f 6c 69 63 20 |hasing s|ymbolic |
|00003440| 6c 69 6e 6b 73 0a 62 6f | 74 68 20 61 74 20 74 68 |links.bo|th at th|
|00003450| 65 20 6c 65 76 65 6c 20 | 6f 66 20 74 68 65 20 66 |e level |of the f|
|00003460| 69 6c 65 20 61 6e 64 20 | 61 74 20 74 68 65 20 6c |ile and |at the l|
|00003470| 65 76 65 6c 20 6f 66 20 | 74 68 65 20 64 69 72 65 |evel of |the dire|
|00003480| 63 74 6f 72 69 65 73 0a | 63 6f 6e 74 61 69 6e 69 |ctories.|containi|
|00003490| 6e 67 20 69 74 2c 20 75 | 6e 74 69 6c 20 6e 6f 20 |ng it, u|ntil no |
|000034a0| 6c 69 6e 6b 73 20 61 72 | 65 20 6c 65 66 74 20 61 |links ar|e left a|
|000034b0| 74 20 61 6e 79 20 6c 65 | 76 65 6c 2e 0a 0a 54 68 |t any le|vel...Th|
|000034c0| 65 20 61 72 67 75 6d 65 | 6e 74 73 20 43 4f 55 4e |e argume|nts COUN|
|000034d0| 54 45 52 20 61 6e 64 20 | 50 52 45 56 2d 44 49 52 |TER and |PREV-DIR|
|000034e0| 53 20 61 72 65 20 75 73 | 65 64 20 6f 6e 6c 79 20 |S are us|ed only |
|000034f0| 69 6e 20 72 65 63 75 72 | 73 69 76 65 20 63 61 6c |in recur|sive cal|
|00003500| 6c 73 2e 0a 44 6f 20 6e | 6f 74 20 73 70 65 63 69 |ls..Do n|ot speci|
|00003510| 66 79 20 74 68 65 6d 20 | 69 6e 20 6f 74 68 65 72 |fy them |in other|
|00003520| 20 63 61 6c 6c 73 2e 1f | 0a 28 64 65 66 61 6c 69 | calls..|.(defali|
|00003530| 61 73 20 27 66 69 6c 65 | 2d 74 72 75 65 6e 61 6d |as 'file|-truenam|
|00003540| 65 20 23 5b 28 66 69 6c | 65 6e 61 6d 65 20 26 6f |e #[(fil|ename &o|
|00003550| 70 74 69 6f 6e 61 6c 20 | 63 6f 75 6e 74 65 72 20 |ptional |counter |
|00003560| 70 72 65 76 2d 64 69 72 | 73 29 20 22 08 c1 98 84 |prev-dir|s) "....|
|00003570| 1c 00 08 c2 98 84 1c 00 | 08 c3 c4 4f c2 98 83 28 |........|...O...(|
|00003580| 00 c5 c6 08 5c 22 83 28 | 00 c7 08 21 89 10 c1 98 |....\".(|...!....|
|00003590| 83 28 00 c8 10 0e 09 84 | 31 00 ca 43 16 09 cb 0e |.(......|1..C....|
|000035a0| 5c 66 83 3c 00 0e 0d 82 | 4c 00 ce 0e 0d 21 1e 0f |\f.<....|L....!..|
|000035b0| d0 d1 d2 0e 0f 5c 22 0e | 0f 5c 22 29 1e 0d 1e 13 |.....\".|.\")....|
|000035c0| 0e 5c 66 84 59 00 cb 43 | 16 5c 66 0e 13 84 39 01 |.\f.Y..C|.\f...9.|
|000035d0| 0e 09 89 40 53 a0 88 0e | 09 40 c3 57 83 72 00 d4 |...@S...|.@.W.r..|
|000035e0| d5 08 5c 22 88 d6 08 d7 | 5c 22 89 1e 18 83 88 00 |..\"....|\"......|
|000035f0| 0e 18 d7 08 5c 22 10 d9 | 16 13 82 35 01 da 08 21 |....\"..|...5...!|
|00003600| 86 90 00 0e 1b cb 89 1e | 1c 1e 1d 1e 1e df 0e 1e |........|........|
|00003610| 21 16 1c 0e 1e 0e 1c 98 | 84 df 00 e0 0e 1e 0e 5c |!.......|.......\|
|00003620| 66 40 5c 22 83 bd 00 e0 | 0e 1e 0e 5c 66 40 5c 22 |f@\"....|...\f@\"|
|00003630| 41 16 1e 82 df 00 0e 1e | e1 d7 0e 1c 0e 09 0e 5c |A.......|.......\|
|00003640| 66 23 21 1e 5c 22 1e 23 | 0e 5c 66 0e 23 0e 5c 22 |f#!.\".#|.\f.#.\"|
|00003650| 42 0e 5c 66 40 42 a0 88 | 0e 5c 22 16 1e 2a e4 08 |B.\f@B..|.\"..*..|
|00003660| 21 e5 9a 83 f6 00 df da | df 0e 1e 21 21 21 10 d9 |!.......|...!!!..|
|00003670| 16 13 82 34 01 e4 08 21 | e6 9a 83 09 01 df 0e 1e |...4...!|........|
|00003680| 21 10 d9 16 13 82 34 01 | 0e 1e e4 08 21 50 10 e7 |!.....4.|....!P..|
|00003690| 08 21 89 16 1d 83 31 01 | e8 0e 1d 21 83 25 01 0e |.!....1.|...!.%..|
|000036a0| 1d 82 2a 01 0e 1e 0e 1d | 50 10 cb 16 13 82 34 01 |..*.....|P.....4.|
|000036b0| d9 16 13 2b 29 82 59 00 | 08 2a 87 22 20 5b 66 69 |...+).Y.|.*." [fi|
|000036c0| 6c 65 6e 61 6d 65 20 22 | 22 20 22 7e 22 20 30 20 |lename "|" "~" 0 |
|000036d0| 31 20 73 74 72 69 6e 67 | 2d 6d 61 74 63 68 20 22 |1 string|-match "|
|000036e0| 7e 5b 5e 2f 5d 2a 22 20 | 65 78 70 61 6e 64 2d 66 |~[^/]*" |expand-f|
|000036f0| 69 6c 65 2d 6e 61 6d 65 | 20 22 2f 22 20 63 6f 75 |ile-name| "/" cou|
|00003700| 6e 74 65 72 20 31 30 30 | 20 6e 69 6c 20 70 72 65 |nter 100| nil pre|
|00003710| 76 2d 64 69 72 73 20 66 | 69 6c 65 2d 6e 61 6d 65 |v-dirs f|ile-name|
|00003720| 2d 68 61 6e 64 6c 65 72 | 2d 61 6c 69 73 74 20 63 |-handler|-alist c|
|00003730| 6f 70 79 2d 73 65 71 75 | 65 6e 63 65 20 74 65 6d |opy-sequ|ence tem|
|00003740| 20 64 65 6c 71 20 72 61 | 73 73 71 20 61 6e 67 65 | delq ra|ssq ange|
|00003750| 2d 66 74 70 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 2d |-ftp-com|pletion-|
|00003760| 68 6f 6f 6b 2d 66 75 6e | 63 74 69 6f 6e 20 64 6f |hook-fun|ction do|
|00003770| 6e 65 20 65 72 72 6f 72 | 20 22 41 70 70 61 72 65 |ne error| "Appare|
|00003780| 6e 74 20 63 79 63 6c 65 | 20 6f 66 20 73 79 6d 62 |nt cycle| of symb|
|00003790| 6f 6c 69 63 20 6c 69 6e | 6b 73 20 66 6f 72 20 25 |olic lin|ks for %|
|000037a0| 73 22 20 66 69 6e 64 2d | 66 69 6c 65 2d 6e 61 6d |s" find-|file-nam|
|000037b0| 65 2d 68 61 6e 64 6c 65 | 72 20 66 69 6c 65 2d 74 |e-handle|r file-t|
|000037c0| 72 75 65 6e 61 6d 65 20 | 68 61 6e 64 6c 65 72 20 |ruename |handler |
|000037d0| 74 20 66 69 6c 65 2d 6e | 61 6d 65 2d 64 69 72 65 |t file-n|ame-dire|
|000037e0| 63 74 6f 72 79 20 64 65 | 66 61 75 6c 74 2d 64 69 |ctory de|fault-di|
|000037f0| 72 65 63 74 6f 72 79 20 | 64 69 72 66 69 6c 65 20 |rectory |dirfile |
|00003800| 74 61 72 67 65 74 20 64 | 69 72 20 64 69 72 65 63 |target d|ir direc|
|00003810| 74 6f 72 79 2d 66 69 6c | 65 2d 6e 61 6d 65 20 61 |tory-fil|e-name a|
|00003820| 73 73 6f 63 20 66 69 6c | 65 2d 6e 61 6d 65 2d 61 |ssoc fil|e-name-a|
|00003830| 73 2d 64 69 72 65 63 74 | 6f 72 79 20 6e 65 77 20 |s-direct|ory new |
|00003840| 6f 6c 64 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 6e 6f |old file|-name-no|
|00003850| 6e 64 69 72 65 63 74 6f | 72 79 20 22 2e 2e 22 20 |ndirecto|ry ".." |
|00003860| 22 2e 22 20 66 69 6c 65 | 2d 73 79 6d 6c 69 6e 6b |"." file|-symlink|
|00003870| 2d 70 20 66 69 6c 65 2d | 6e 61 6d 65 2d 61 62 73 |-p file-|name-abs|
|00003880| 6f 6c 75 74 65 2d 70 5d | 20 37 20 28 23 24 20 2e |olute-p]| 7 (#$ .|
|00003890| 20 31 33 32 36 30 29 5d | 29 0a 23 40 31 33 33 20 | 13260)]|).#@133 |
|000038a0| 43 68 61 73 65 20 6c 69 | 6e 6b 73 20 69 6e 20 46 |Chase li|nks in F|
|000038b0| 49 4c 45 4e 41 4d 45 20 | 75 6e 74 69 6c 20 61 20 |ILENAME |until a |
|000038c0| 6e 61 6d 65 20 74 68 61 | 74 20 69 73 20 6e 6f 74 |name tha|t is not|
|000038d0| 20 61 20 6c 69 6e 6b 2e | 0a 44 6f 65 73 20 6e 6f | a link.|.Does no|
|000038e0| 74 20 65 78 61 6d 69 6e | 65 20 63 6f 6e 74 61 69 |t examin|e contai|
|000038f0| 6e 69 6e 67 20 64 69 72 | 65 63 74 6f 72 69 65 73 |ning dir|ectories|
|00003900| 20 66 6f 72 20 6c 69 6e | 6b 73 2c 0a 75 6e 6c 69 | for lin|ks,.unli|
|00003910| 6b 65 20 60 66 69 6c 65 | 2d 74 72 75 65 6e 61 6d |ke `file|-truenam|
|00003920| 65 27 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |e'...(de|falias '|
|00003930| 66 69 6c 65 2d 63 68 61 | 73 65 2d 6c 69 6e 6b 73 |file-cha|se-links|
|00003940| 20 23 5b 28 66 69 6c 65 | 6e 61 6d 65 29 20 22 c0 | #[(file|name) ".|
|00003950| c1 5c 6e 1b 1c 1d c6 0b | 21 89 15 83 5a 00 5c 66 |.\n.....|!...Z.\f|
|00003960| c7 55 83 19 00 c8 c9 5c | 6e 5c 22 88 ca cb 0d 5c |.U.....\|n\"....\|
|00003970| 22 83 30 00 0d c7 89 94 | 54 4f 0d c7 95 c0 4f 50 |".0.....|TO....OP|
|00003980| 15 82 19 00 ca cc 0d 5c | 22 83 4d 00 0d cd c0 4f |.......\|".M....O|
|00003990| 15 ce cf d0 d1 cf d0 0b | 21 21 21 21 21 21 13 82 |........|!!!!!!..|
|000039a0| 30 00 d2 0d d0 0b 21 5c | 22 13 5c 66 53 14 82 06 |0.....!\|".\fS...|
|000039b0| 00 0b 2b 87 22 20 5b 6e | 69 6c 20 31 30 30 20 66 |..+." [n|il 100 f|
|000039c0| 69 6c 65 6e 61 6d 65 20 | 6e 65 77 6e 61 6d 65 20 |ilename |newname |
|000039d0| 63 6f 75 6e 74 20 74 65 | 6d 20 66 69 6c 65 2d 73 |count te|m file-s|
|000039e0| 79 6d 6c 69 6e 6b 2d 70 | 20 30 20 65 72 72 6f 72 |ymlink-p| 0 error|
|000039f0| 20 22 41 70 70 61 72 65 | 6e 74 20 63 79 63 6c 65 | "Appare|nt cycle|
|00003a00| 20 6f 66 20 73 79 6d 62 | 6f 6c 69 63 20 6c 69 6e | of symb|olic lin|
|00003a10| 6b 73 20 66 6f 72 20 25 | 73 22 20 73 74 72 69 6e |ks for %|s" strin|
|00003a20| 67 2d 6d 61 74 63 68 20 | 22 2f 2f 2b 22 20 22 5c |g-match |"//+" "\|
|00003a30| 5c 60 5c 5c 2e 5c 5c 2e | 2f 22 20 33 20 66 69 6c |\`\\.\\.|/" 3 fil|
|00003a40| 65 2d 6e 61 6d 65 2d 61 | 73 2d 64 69 72 65 63 74 |e-name-a|s-direct|
|00003a50| 6f 72 79 20 64 69 72 65 | 63 74 6f 72 79 2d 66 69 |ory dire|ctory-fi|
|00003a60| 6c 65 2d 6e 61 6d 65 20 | 66 69 6c 65 2d 6e 61 6d |le-name |file-nam|
|00003a70| 65 2d 64 69 72 65 63 74 | 6f 72 79 20 66 69 6c 65 |e-direct|ory file|
|00003a80| 2d 63 68 61 73 65 2d 6c | 69 6e 6b 73 20 65 78 70 |-chase-l|inks exp|
|00003a90| 61 6e 64 2d 66 69 6c 65 | 2d 6e 61 6d 65 5d 20 37 |and-file|-name] 7|
|00003aa0| 20 28 23 24 20 2e 20 31 | 34 34 39 36 29 5d 29 0a | (#$ . 1|4496)]).|
|00003ab0| 23 40 34 31 20 53 65 6c | 65 63 74 20 62 75 66 66 |#@41 Sel|ect buff|
|00003ac0| 65 72 20 42 55 46 46 45 | 52 20 69 6e 20 61 6e 6f |er BUFFE|R in ano|
|00003ad0| 74 68 65 72 20 77 69 6e | 64 6f 77 2e 1f 0a 28 64 |ther win|dow...(d|
|00003ae0| 65 66 61 6c 69 61 73 20 | 27 73 77 69 74 63 68 2d |efalias |'switch-|
|00003af0| 74 6f 2d 62 75 66 66 65 | 72 2d 6f 74 68 65 72 2d |to-buffe|r-other-|
|00003b00| 77 69 6e 64 6f 77 20 23 | 5b 28 62 75 66 66 65 72 |window #|[(buffer|
|00003b10| 29 20 22 c0 19 c2 0b c0 | 5c 22 29 87 22 20 5b 74 |) ".....|\")." [t|
|00003b20| 20 70 6f 70 2d 75 70 2d | 77 69 6e 64 6f 77 73 20 | pop-up-|windows |
|00003b30| 70 6f 70 2d 74 6f 2d 62 | 75 66 66 65 72 20 62 75 |pop-to-b|uffer bu|
|00003b40| 66 66 65 72 5d 20 33 20 | 28 23 24 20 2e 20 31 35 |ffer] 3 |(#$ . 15|
|00003b50| 30 32 39 29 20 22 42 53 | 77 69 74 63 68 20 74 6f |029) "BS|witch to|
|00003b60| 20 62 75 66 66 65 72 20 | 69 6e 20 6f 74 68 65 72 | buffer |in other|
|00003b70| 20 77 69 6e 64 6f 77 3a | 20 22 5d 29 0a 23 40 34 | window:| "]).#@4|
|00003b80| 33 20 53 77 69 74 63 68 | 20 74 6f 20 62 75 66 66 |3 Switch| to buff|
|00003b90| 65 72 20 42 55 46 46 45 | 52 20 69 6e 20 61 6e 6f |er BUFFE|R in ano|
|00003ba0| 74 68 65 72 20 66 72 61 | 6d 65 2e 1f 0a 28 64 65 |ther fra|me...(de|
|00003bb0| 66 61 6c 69 61 73 20 27 | 73 77 69 74 63 68 2d 74 |falias '|switch-t|
|00003bc0| 6f 2d 62 75 66 66 65 72 | 2d 6f 74 68 65 72 2d 66 |o-buffer|-other-f|
|00003bd0| 72 61 6d 65 20 23 5b 28 | 62 75 66 66 65 72 29 20 |rame #[(|buffer) |
|00003be0| 22 c0 19 c2 0b c0 5c 22 | 88 c4 c5 c6 20 21 21 29 |".....\"|.... !!)|
|00003bf0| 87 22 20 5b 74 20 70 6f | 70 2d 75 70 2d 66 72 61 |." [t po|p-up-fra|
|00003c00| 6d 65 73 20 70 6f 70 2d | 74 6f 2d 62 75 66 66 65 |mes pop-|to-buffe|
|00003c10| 72 20 62 75 66 66 65 72 | 20 72 61 69 73 65 2d 66 |r buffer| raise-f|
|00003c20| 72 61 6d 65 20 77 69 6e | 64 6f 77 2d 66 72 61 6d |rame win|dow-fram|
|00003c30| 65 20 73 65 6c 65 63 74 | 65 64 2d 77 69 6e 64 6f |e select|ed-windo|
|00003c40| 77 5d 20 33 20 28 23 24 | 20 2e 20 31 35 32 33 34 |w] 3 (#$| . 15234|
|00003c50| 29 20 22 42 53 77 69 74 | 63 68 20 74 6f 20 62 75 |) "BSwit|ch to bu|
|00003c60| 66 66 65 72 20 69 6e 20 | 6f 74 68 65 72 20 66 72 |ffer in |other fr|
|00003c70| 61 6d 65 3a 20 22 5d 29 | 0a 23 40 31 30 31 20 45 |ame: "])|.#@101 E|
|00003c80| 64 69 74 20 66 69 6c 65 | 20 46 49 4c 45 4e 41 4d |dit file| FILENAM|
|00003c90| 45 2e 0a 53 77 69 74 63 | 68 20 74 6f 20 61 20 62 |E..Switc|h to a b|
|00003ca0| 75 66 66 65 72 20 76 69 | 73 69 74 69 6e 67 20 66 |uffer vi|siting f|
|00003cb0| 69 6c 65 20 46 49 4c 45 | 4e 41 4d 45 2c 0a 63 72 |ile FILE|NAME,.cr|
|00003cc0| 65 61 74 69 6e 67 20 6f | 6e 65 20 69 66 20 6e 6f |eating o|ne if no|
|00003cd0| 6e 65 20 61 6c 72 65 61 | 64 79 20 65 78 69 73 74 |ne alrea|dy exist|
|00003ce0| 73 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 66 |s...(def|alias 'f|
|00003cf0| 69 6e 64 2d 66 69 6c 65 | 20 23 5b 28 66 69 6c 65 |ind-file| #[(file|
|00003d00| 6e 61 6d 65 29 20 22 c0 | c1 5c 6e 21 21 87 22 20 |name) ".|.\n!!." |
|00003d10| 5b 73 77 69 74 63 68 2d | 74 6f 2d 62 75 66 66 65 |[switch-|to-buffe|
|00003d20| 72 20 66 69 6e 64 2d 66 | 69 6c 65 2d 6e 6f 73 65 |r find-f|ile-nose|
|00003d30| 6c 65 63 74 20 66 69 6c | 65 6e 61 6d 65 5d 20 33 |lect fil|ename] 3|
|00003d40| 20 28 23 24 20 2e 20 31 | 35 34 38 37 29 20 22 46 | (#$ . 1|5487) "F|
|00003d50| 46 69 6e 64 20 66 69 6c | 65 3a 20 22 5d 29 0a 23 |Find fil|e: "]).#|
|00003d60| 40 31 32 36 20 45 64 69 | 74 20 66 69 6c 65 20 46 |@126 Edi|t file F|
|00003d70| 49 4c 45 4e 41 4d 45 2c | 20 69 6e 20 61 6e 6f 74 |ILENAME,| in anot|
|00003d80| 68 65 72 20 77 69 6e 64 | 6f 77 2e 0a 4d 61 79 20 |her wind|ow..May |
|00003d90| 63 72 65 61 74 65 20 61 | 20 6e 65 77 20 77 69 6e |create a| new win|
|00003da0| 64 6f 77 2c 20 6f 72 20 | 72 65 75 73 65 20 61 6e |dow, or |reuse an|
|00003db0| 20 65 78 69 73 74 69 6e | 67 20 6f 6e 65 2e 0a 53 | existin|g one..S|
|00003dc0| 65 65 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |ee the f|unction |
|00003dd0| 60 64 69 73 70 6c 61 79 | 2d 62 75 66 66 65 72 27 |`display|-buffer'|
|00003de0| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 66 69 |...(defa|lias 'fi|
|00003df0| 6e 64 2d 66 69 6c 65 2d | 6f 74 68 65 72 2d 77 69 |nd-file-|other-wi|
|00003e00| 6e 64 6f 77 20 23 5b 28 | 66 69 6c 65 6e 61 6d 65 |ndow #[(|filename|
|00003e10| 29 20 22 c0 c1 5c 6e 21 | 21 87 22 20 5b 73 77 69 |) "..\n!|!." [swi|
|00003e20| 74 63 68 2d 74 6f 2d 62 | 75 66 66 65 72 2d 6f 74 |tch-to-b|uffer-ot|
|00003e30| 68 65 72 2d 77 69 6e 64 | 6f 77 20 66 69 6e 64 2d |her-wind|ow find-|
|00003e40| 66 69 6c 65 2d 6e 6f 73 | 65 6c 65 63 74 20 66 69 |file-nos|elect fi|
|00003e50| 6c 65 6e 61 6d 65 5d 20 | 33 20 28 23 24 20 2e 20 |lename] |3 (#$ . |
|00003e60| 31 35 37 31 37 29 20 22 | 46 46 69 6e 64 20 66 69 |15717) "|FFind fi|
|00003e70| 6c 65 20 69 6e 20 6f 74 | 68 65 72 20 77 69 6e 64 |le in ot|her wind|
|00003e80| 6f 77 3a 20 22 5d 29 0a | 23 40 31 32 34 20 45 64 |ow: "]).|#@124 Ed|
|00003e90| 69 74 20 66 69 6c 65 20 | 46 49 4c 45 4e 41 4d 45 |it file |FILENAME|
|00003ea0| 2c 20 69 6e 20 61 6e 6f | 74 68 65 72 20 66 72 61 |, in ano|ther fra|
|00003eb0| 6d 65 2e 0a 4d 61 79 20 | 63 72 65 61 74 65 20 61 |me..May |create a|
|00003ec0| 20 6e 65 77 20 66 72 61 | 6d 65 2c 20 6f 72 20 72 | new fra|me, or r|
|00003ed0| 65 75 73 65 20 61 6e 20 | 65 78 69 73 74 69 6e 67 |euse an |existing|
|00003ee0| 20 6f 6e 65 2e 0a 53 65 | 65 20 74 68 65 20 66 75 | one..Se|e the fu|
|00003ef0| 6e 63 74 69 6f 6e 20 60 | 64 69 73 70 6c 61 79 2d |nction `|display-|
|00003f00| 62 75 66 66 65 72 27 2e | 1f 0a 28 64 65 66 61 6c |buffer'.|..(defal|
|00003f10| 69 61 73 20 27 66 69 6e | 64 2d 66 69 6c 65 2d 6f |ias 'fin|d-file-o|
|00003f20| 74 68 65 72 2d 66 72 61 | 6d 65 20 23 5b 28 66 69 |ther-fra|me #[(fi|
|00003f30| 6c 65 6e 61 6d 65 29 20 | 22 c0 c1 5c 6e 21 21 87 |lename) |"..\n!!.|
|00003f40| 22 20 5b 73 77 69 74 63 | 68 2d 74 6f 2d 62 75 66 |" [switc|h-to-buf|
|00003f50| 66 65 72 2d 6f 74 68 65 | 72 2d 66 72 61 6d 65 20 |fer-othe|r-frame |
|00003f60| 66 69 6e 64 2d 66 69 6c | 65 2d 6e 6f 73 65 6c 65 |find-fil|e-nosele|
|00003f70| 63 74 20 66 69 6c 65 6e | 61 6d 65 5d 20 33 20 28 |ct filen|ame] 3 (|
|00003f80| 23 24 20 2e 20 31 36 30 | 31 34 29 20 22 46 46 69 |#$ . 160|14) "FFi|
|00003f90| 6e 64 20 66 69 6c 65 20 | 69 6e 20 6f 74 68 65 72 |nd file |in other|
|00003fa0| 20 66 72 61 6d 65 3a 20 | 22 5d 29 0a 23 40 31 33 | frame: |"]).#@13|
|00003fb0| 37 20 45 64 69 74 20 66 | 69 6c 65 20 46 49 4c 45 |7 Edit f|ile FILE|
|00003fc0| 4e 41 4d 45 20 62 75 74 | 20 64 6f 6e 27 74 20 61 |NAME but| don't a|
|00003fd0| 6c 6c 6f 77 20 63 68 61 | 6e 67 65 73 2e 0a 4c 69 |llow cha|nges..Li|
|00003fe0| 6b 65 20 5c 5b 66 69 6e | 64 2d 66 69 6c 65 5d 20 |ke \[fin|d-file] |
|00003ff0| 62 75 74 20 6d 61 72 6b | 73 20 62 75 66 66 65 72 |but mark|s buffer|
|00004000| 20 61 73 20 72 65 61 64 | 2d 6f 6e 6c 79 2e 0a 55 | as read|-only..U|
|00004010| 73 65 20 5c 5b 74 6f 67 | 67 6c 65 2d 72 65 61 64 |se \[tog|gle-read|
|00004020| 2d 6f 6e 6c 79 5d 20 74 | 6f 20 70 65 72 6d 69 74 |-only] t|o permit|
|00004030| 20 65 64 69 74 69 6e 67 | 2e 1f 0a 28 64 65 66 61 | editing|...(defa|
|00004040| 6c 69 61 73 20 27 66 69 | 6e 64 2d 66 69 6c 65 2d |lias 'fi|nd-file-|
|00004050| 72 65 61 64 2d 6f 6e 6c | 79 20 23 5b 28 66 69 6c |read-onl|y #[(fil|
|00004060| 65 6e 61 6d 65 29 20 22 | c0 09 21 88 c2 13 70 87 |ename) "|..!...p.|
|00004070| 22 20 5b 66 69 6e 64 2d | 66 69 6c 65 20 66 69 6c |" [find-|file fil|
|00004080| 65 6e 61 6d 65 20 74 20 | 62 75 66 66 65 72 2d 72 |ename t |buffer-r|
|00004090| 65 61 64 2d 6f 6e 6c 79 | 5d 20 32 20 28 23 24 20 |ead-only|] 2 (#$ |
|000040a0| 2e 20 31 36 33 30 36 29 | 20 22 66 46 69 6e 64 20 |. 16306)| "fFind |
|000040b0| 66 69 6c 65 20 72 65 61 | 64 2d 6f 6e 6c 79 3a 20 |file rea|d-only: |
|000040c0| 22 5d 29 0a 23 40 31 36 | 38 20 45 64 69 74 20 66 |"]).#@16|8 Edit f|
|000040d0| 69 6c 65 20 46 49 4c 45 | 4e 41 4d 45 20 69 6e 20 |ile FILE|NAME in |
|000040e0| 61 6e 6f 74 68 65 72 20 | 77 69 6e 64 6f 77 20 62 |another |window b|
|000040f0| 75 74 20 64 6f 6e 27 74 | 20 61 6c 6c 6f 77 20 63 |ut don't| allow c|
|00004100| 68 61 6e 67 65 73 2e 0a | 4c 69 6b 65 20 5c 5b 66 |hanges..|Like \[f|
|00004110| 69 6e 64 2d 66 69 6c 65 | 2d 6f 74 68 65 72 2d 77 |ind-file|-other-w|
|00004120| 69 6e 64 6f 77 5d 20 62 | 75 74 20 6d 61 72 6b 73 |indow] b|ut marks|
|00004130| 20 62 75 66 66 65 72 20 | 61 73 20 72 65 61 64 2d | buffer |as read-|
|00004140| 6f 6e 6c 79 2e 0a 55 73 | 65 20 5c 5b 74 6f 67 67 |only..Us|e \[togg|
|00004150| 6c 65 2d 72 65 61 64 2d | 6f 6e 6c 79 5d 20 74 6f |le-read-|only] to|
|00004160| 20 70 65 72 6d 69 74 20 | 65 64 69 74 69 6e 67 2e | permit |editing.|
|00004170| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 66 69 6e |..(defal|ias 'fin|
|00004180| 64 2d 66 69 6c 65 2d 72 | 65 61 64 2d 6f 6e 6c 79 |d-file-r|ead-only|
|00004190| 2d 6f 74 68 65 72 2d 77 | 69 6e 64 6f 77 20 23 5b |-other-w|indow #[|
|000041a0| 28 66 69 6c 65 6e 61 6d | 65 29 20 22 c0 09 21 88 |(filenam|e) "..!.|
|000041b0| c2 13 70 87 22 20 5b 66 | 69 6e 64 2d 66 69 6c 65 |..p." [f|ind-file|
|000041c0| 2d 6f 74 68 65 72 2d 77 | 69 6e 64 6f 77 20 66 69 |-other-w|indow fi|
|000041d0| 6c 65 6e 61 6d 65 20 74 | 20 62 75 66 66 65 72 2d |lename t| buffer-|
|000041e0| 72 65 61 64 2d 6f 6e 6c | 79 5d 20 32 20 28 23 24 |read-onl|y] 2 (#$|
|000041f0| 20 2e 20 31 36 35 38 36 | 29 20 22 66 46 69 6e 64 | . 16586|) "fFind|
|00004200| 20 66 69 6c 65 20 72 65 | 61 64 2d 6f 6e 6c 79 20 | file re|ad-only |
|00004210| 6f 74 68 65 72 20 77 69 | 6e 64 6f 77 3a 20 22 5d |other wi|ndow: "]|
|00004220| 29 0a 23 40 31 36 36 20 | 45 64 69 74 20 66 69 6c |).#@166 |Edit fil|
|00004230| 65 20 46 49 4c 45 4e 41 | 4d 45 20 69 6e 20 61 6e |e FILENA|ME in an|
|00004240| 6f 74 68 65 72 20 66 72 | 61 6d 65 20 62 75 74 20 |other fr|ame but |
|00004250| 64 6f 6e 27 74 20 61 6c | 6c 6f 77 20 63 68 61 6e |don't al|low chan|
|00004260| 67 65 73 2e 0a 4c 69 6b | 65 20 5c 5b 66 69 6e 64 |ges..Lik|e \[find|
|00004270| 2d 66 69 6c 65 2d 6f 74 | 68 65 72 2d 66 72 61 6d |-file-ot|her-fram|
|00004280| 65 5d 20 62 75 74 20 6d | 61 72 6b 73 20 62 75 66 |e] but m|arks buf|
|00004290| 66 65 72 20 61 73 20 72 | 65 61 64 2d 6f 6e 6c 79 |fer as r|ead-only|
|000042a0| 2e 0a 55 73 65 20 5c 5b | 74 6f 67 67 6c 65 2d 72 |..Use \[|toggle-r|
|000042b0| 65 61 64 2d 6f 6e 6c 79 | 5d 20 74 6f 20 70 65 72 |ead-only|] to per|
|000042c0| 6d 69 74 20 65 64 69 74 | 69 6e 67 2e 1f 0a 28 64 |mit edit|ing...(d|
|000042d0| 65 66 61 6c 69 61 73 20 | 27 66 69 6e 64 2d 66 69 |efalias |'find-fi|
|000042e0| 6c 65 2d 72 65 61 64 2d | 6f 6e 6c 79 2d 6f 74 68 |le-read-|only-oth|
|000042f0| 65 72 2d 66 72 61 6d 65 | 20 23 5b 28 66 69 6c 65 |er-frame| #[(file|
|00004300| 6e 61 6d 65 29 20 22 c0 | 09 21 88 c2 13 70 87 22 |name) ".|.!...p."|
|00004310| 20 5b 66 69 6e 64 2d 66 | 69 6c 65 2d 6f 74 68 65 | [find-f|ile-othe|
|00004320| 72 2d 66 72 61 6d 65 20 | 66 69 6c 65 6e 61 6d 65 |r-frame |filename|
|00004330| 20 74 20 62 75 66 66 65 | 72 2d 72 65 61 64 2d 6f | t buffe|r-read-o|
|00004340| 6e 6c 79 5d 20 32 20 28 | 23 24 20 2e 20 31 36 39 |nly] 2 (|#$ . 169|
|00004350| 33 36 29 20 22 66 46 69 | 6e 64 20 66 69 6c 65 20 |36) "fFi|nd file |
|00004360| 72 65 61 64 2d 6f 6e 6c | 79 20 6f 74 68 65 72 20 |read-onl|y other |
|00004370| 66 72 61 6d 65 3a 20 22 | 5d 29 0a 23 40 31 31 32 |frame: "|]).#@112|
|00004380| 20 46 69 6e 64 20 66 69 | 6c 65 20 46 49 4c 45 4e | Find fi|le FILEN|
|00004390| 41 4d 45 20 61 73 20 61 | 20 72 65 70 6c 61 63 65 |AME as a| replace|
|000043a0| 6d 65 6e 74 20 66 6f 72 | 20 74 68 65 20 66 69 6c |ment for| the fil|
|000043b0| 65 20 69 6e 20 74 68 65 | 20 6e 65 78 74 20 77 69 |e in the| next wi|
|000043c0| 6e 64 6f 77 2e 0a 54 68 | 69 73 20 63 6f 6d 6d 61 |ndow..Th|is comma|
|000043d0| 6e 64 20 64 6f 65 73 20 | 6e 6f 74 20 73 65 6c 65 |nd does |not sele|
|000043e0| 63 74 20 74 68 61 74 20 | 77 69 6e 64 6f 77 2e 1f |ct that |window..|
|000043f0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 66 69 6e 64 |.(defali|as 'find|
|00004400| 2d 61 6c 74 65 72 6e 61 | 74 65 2d 66 69 6c 65 2d |-alterna|te-file-|
|00004410| 6f 74 68 65 72 2d 77 69 | 6e 64 6f 77 20 23 5b 28 |other-wi|ndow #[(|
|00004420| 66 69 6c 65 6e 61 6d 65 | 29 20 22 c0 20 83 09 00 |filename|) ". ...|
|00004430| c1 5c 6e 21 87 c3 20 1c | c5 8e c6 c7 21 88 c8 5c |.\n!.. .|....!..\|
|00004440| 6e 21 2a 87 22 20 5b 6f | 6e 65 2d 77 69 6e 64 6f |n!*." [o|ne-windo|
|00004450| 77 2d 70 20 66 69 6e 64 | 2d 66 69 6c 65 2d 6f 74 |w-p find|-file-ot|
|00004460| 68 65 72 2d 77 69 6e 64 | 6f 77 20 66 69 6c 65 6e |her-wind|ow filen|
|00004470| 61 6d 65 20 73 65 6c 65 | 63 74 65 64 2d 77 69 6e |ame sele|cted-win|
|00004480| 64 6f 77 20 73 61 76 65 | 2d 73 65 6c 65 63 74 65 |dow save|-selecte|
|00004490| 64 2d 77 69 6e 64 6f 77 | 2d 77 69 6e 64 6f 77 20 |d-window|-window |
|000044a0| 28 28 73 65 6c 65 63 74 | 2d 77 69 6e 64 6f 77 20 |((select|-window |
|000044b0| 73 61 76 65 2d 73 65 6c | 65 63 74 65 64 2d 77 69 |save-sel|ected-wi|
|000044c0| 6e 64 6f 77 2d 77 69 6e | 64 6f 77 29 29 20 6f 74 |ndow-win|dow)) ot|
|000044d0| 68 65 72 2d 77 69 6e 64 | 6f 77 20 31 20 66 69 6e |her-wind|ow 1 fin|
|000044e0| 64 2d 61 6c 74 65 72 6e | 61 74 65 2d 66 69 6c 65 |d-altern|ate-file|
|000044f0| 5d 20 32 20 28 23 24 20 | 2e 20 31 37 32 38 31 29 |] 2 (#$ |. 17281)|
|00004500| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 20 19 | (byte-c|ode ". .|
|00004510| c2 8e c3 c4 21 88 0d c6 | 89 1e 07 1e 08 89 1e 09 |....!...|........|
|00004520| 83 5c 22 00 ca 0e 09 21 | 16 08 cb 0e 09 21 16 07 |.\"....!|.....!..|
|00004530| cc cd 0e 07 c6 89 0e 08 | 25 2d 43 87 22 20 5b 73 |........|%-C." [s|
|00004540| 65 6c 65 63 74 65 64 2d | 77 69 6e 64 6f 77 20 73 |elected-|window s|
|00004550| 61 76 65 2d 73 65 6c 65 | 63 74 65 64 2d 77 69 6e |ave-sele|cted-win|
|00004560| 64 6f 77 2d 77 69 6e 64 | 6f 77 20 28 28 73 65 6c |dow-wind|ow ((sel|
|00004570| 65 63 74 2d 77 69 6e 64 | 6f 77 20 73 61 76 65 2d |ect-wind|ow save-|
|00004580| 73 65 6c 65 63 74 65 64 | 2d 77 69 6e 64 6f 77 2d |selected|-window-|
|00004590| 77 69 6e 64 6f 77 29 29 | 20 6f 74 68 65 72 2d 77 |window))| other-w|
|000045a0| 69 6e 64 6f 77 20 31 20 | 62 75 66 66 65 72 2d 66 |indow 1 |buffer-f|
|000045b0| 69 6c 65 2d 6e 61 6d 65 | 20 6e 69 6c 20 66 69 6c |ile-name| nil fil|
|000045c0| 65 2d 64 69 72 20 66 69 | 6c 65 2d 6e 61 6d 65 20 |e-dir fi|le-name |
|000045d0| 66 69 6c 65 20 66 69 6c | 65 2d 6e 61 6d 65 2d 6e |file fil|e-name-n|
|000045e0| 6f 6e 64 69 72 65 63 74 | 6f 72 79 20 66 69 6c 65 |ondirect|ory file|
|000045f0| 2d 6e 61 6d 65 2d 64 69 | 72 65 63 74 6f 72 79 20 |-name-di|rectory |
|00004600| 72 65 61 64 2d 66 69 6c | 65 2d 6e 61 6d 65 20 22 |read-fil|e-name "|
|00004610| 46 69 6e 64 20 61 6c 74 | 65 72 6e 61 74 65 20 66 |Find alt|ernate f|
|00004620| 69 6c 65 3a 20 22 5d 20 | 37 29 5d 29 0a 23 40 32 |ile: "] |7)]).#@2|
|00004630| 31 30 20 46 69 6e 64 20 | 66 69 6c 65 20 46 49 4c |10 Find |file FIL|
|00004640| 45 4e 41 4d 45 2c 20 73 | 65 6c 65 63 74 20 69 74 |ENAME, s|elect it|
|00004650| 73 20 62 75 66 66 65 72 | 2c 20 6b 69 6c 6c 20 70 |s buffer|, kill p|
|00004660| 72 65 76 69 6f 75 73 20 | 62 75 66 66 65 72 2e 0a |revious |buffer..|
|00004670| 49 66 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 62 |If the c|urrent b|
|00004680| 75 66 66 65 72 20 6e 6f | 77 20 63 6f 6e 74 61 69 |uffer no|w contai|
|00004690| 6e 73 20 61 6e 20 65 6d | 70 74 79 20 66 69 6c 65 |ns an em|pty file|
|000046a0| 20 74 68 61 74 20 79 6f | 75 20 6a 75 73 74 20 76 | that yo|u just v|
|000046b0| 69 73 69 74 65 64 0a 28 | 70 72 65 73 75 6d 61 62 |isited.(|presumab|
|000046c0| 6c 79 20 62 79 20 6d 69 | 73 74 61 6b 65 29 2c 20 |ly by mi|stake), |
|000046d0| 75 73 65 20 74 68 69 73 | 20 63 6f 6d 6d 61 6e 64 |use this| command|
|000046e0| 20 74 6f 20 76 69 73 69 | 74 20 74 68 65 20 66 69 | to visi|t the fi|
|000046f0| 6c 65 20 79 6f 75 20 72 | 65 61 6c 6c 79 20 77 61 |le you r|eally wa|
|00004700| 6e 74 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |nt...(de|falias '|
|00004710| 66 69 6e 64 2d 61 6c 74 | 65 72 6e 61 74 65 2d 66 |find-alt|ernate-f|
|00004720| 69 6c 65 20 23 5b 28 66 | 69 6c 65 6e 61 6d 65 29 |ile #[(f|ilename)|
|00004730| 20 22 c0 20 83 18 00 c1 | 20 83 18 00 c2 c3 c4 c5 | ". ....| .......|
|00004740| 20 5c 22 21 84 18 00 c6 | c7 21 88 70 09 0e 08 0e | \"!....|.!.p....|
|00004750| 09 c5 20 1e 5c 6e 1e 0b | 1e 5c 66 1e 0d 1e 0e cf |.. .\n..|.\f.....|
|00004760| d0 21 83 34 00 d1 d0 21 | 88 d2 d0 21 88 d3 8e d4 |.!.4...!|...!....|
|00004770| 20 88 d5 11 d5 16 08 d5 | 16 09 d6 0e 17 21 88 29 | .......|.....!.)|
|00004780| 70 0e 0e 3d 86 56 00 d1 | 0e 0e 21 2d 87 22 20 5b |p..=.V..|..!-." [|
|00004790| 62 75 66 66 65 72 2d 6d | 6f 64 69 66 69 65 64 2d |buffer-m|odified-|
|000047a0| 70 20 62 75 66 66 65 72 | 2d 66 69 6c 65 2d 6e 61 |p buffer|-file-na|
|000047b0| 6d 65 20 79 65 73 2d 6f | 72 2d 6e 6f 2d 70 20 66 |me yes-o|r-no-p f|
|000047c0| 6f 72 6d 61 74 20 22 42 | 75 66 66 65 72 20 25 73 |ormat "B|uffer %s|
|000047d0| 20 69 73 20 6d 6f 64 69 | 66 69 65 64 3b 20 6b 69 | is modi|fied; ki|
|000047e0| 6c 6c 20 61 6e 79 77 61 | 79 3f 20 22 20 62 75 66 |ll anywa|y? " buf|
|000047f0| 66 65 72 2d 6e 61 6d 65 | 20 65 72 72 6f 72 20 22 |fer-name| error "|
|00004800| 41 62 6f 72 74 65 64 22 | 20 62 75 66 66 65 72 2d |Aborted"| buffer-|
|00004810| 66 69 6c 65 2d 6e 75 6d | 62 65 72 20 62 75 66 66 |file-num|ber buff|
|00004820| 65 72 2d 66 69 6c 65 2d | 74 72 75 65 6e 61 6d 65 |er-file-|truename|
|00004830| 20 6f 6e 61 6d 65 20 6f | 74 72 75 65 20 6f 6e 75 | oname o|true onu|
|00004840| 6d 20 6f 66 69 6c 65 20 | 6f 62 75 66 20 67 65 74 |m ofile |obuf get|
|00004850| 2d 62 75 66 66 65 72 20 | 22 20 2a 2a 6c 6f 73 65 |-buffer |" **lose|
|00004860| 2a 2a 22 20 6b 69 6c 6c | 2d 62 75 66 66 65 72 20 |**" kill|-buffer |
|00004870| 72 65 6e 61 6d 65 2d 62 | 75 66 66 65 72 20 28 28 |rename-b|uffer ((|
|00004880| 62 79 74 65 2d 63 6f 64 | 65 20 22 08 70 3d 83 15 |byte-cod|e ".p=..|
|00004890| 00 09 12 0b 14 0d 16 06 | c7 20 88 c8 0e 09 21 88 |........|. ....!.|
|000048a0| c7 87 22 20 5b 6f 62 75 | 66 20 6f 66 69 6c 65 20 |.." [obu|f ofile |
|000048b0| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 6e 61 6d 65 |buffer-f|ile-name|
|000048c0| 20 6f 6e 75 6d 20 62 75 | 66 66 65 72 2d 66 69 6c | onum bu|ffer-fil|
|000048d0| 65 2d 6e 75 6d 62 65 72 | 20 6f 74 72 75 65 20 62 |e-number| otrue b|
|000048e0| 75 66 66 65 72 2d 66 69 | 6c 65 2d 74 72 75 65 6e |uffer-fi|le-truen|
|000048f0| 61 6d 65 20 6c 6f 63 6b | 2d 62 75 66 66 65 72 20 |ame lock|-buffer |
|00004900| 72 65 6e 61 6d 65 2d 62 | 75 66 66 65 72 20 6f 6e |rename-b|uffer on|
|00004910| 61 6d 65 5d 20 32 29 29 | 20 75 6e 6c 6f 63 6b 2d |ame] 2))| unlock-|
|00004920| 62 75 66 66 65 72 20 6e | 69 6c 20 66 69 6e 64 2d |buffer n|il find-|
|00004930| 66 69 6c 65 20 66 69 6c | 65 6e 61 6d 65 5d 20 35 |file fil|ename] 5|
|00004940| 20 28 23 24 20 2e 20 31 | 37 39 37 31 29 20 28 6c | (#$ . 1|7971) (l|
|00004950| 65 74 20 28 28 66 69 6c | 65 20 62 75 66 66 65 72 |et ((fil|e buffer|
|00004960| 2d 66 69 6c 65 2d 6e 61 | 6d 65 29 20 28 66 69 6c |-file-na|me) (fil|
|00004970| 65 2d 6e 61 6d 65 20 6e | 69 6c 29 20 28 66 69 6c |e-name n|il) (fil|
|00004980| 65 2d 64 69 72 20 6e 69 | 6c 29 29 20 28 61 6e 64 |e-dir ni|l)) (and|
|00004990| 20 66 69 6c 65 20 28 73 | 65 74 71 20 66 69 6c 65 | file (s|etq file|
|000049a0| 2d 6e 61 6d 65 20 28 66 | 69 6c 65 2d 6e 61 6d 65 |-name (f|ile-name|
|000049b0| 2d 6e 6f 6e 64 69 72 65 | 63 74 6f 72 79 20 66 69 |-nondire|ctory fi|
|000049c0| 6c 65 29 20 66 69 6c 65 | 2d 64 69 72 20 28 66 69 |le) file|-dir (fi|
|000049d0| 6c 65 2d 6e 61 6d 65 2d | 64 69 72 65 63 74 6f 72 |le-name-|director|
|000049e0| 79 20 66 69 6c 65 29 29 | 29 20 28 6c 69 73 74 20 |y file))|) (list |
|000049f0| 28 72 65 61 64 2d 66 69 | 6c 65 2d 6e 61 6d 65 20 |(read-fi|le-name |
|00004a00| 22 46 69 6e 64 20 61 6c | 74 65 72 6e 61 74 65 20 |"Find al|ternate |
|00004a10| 66 69 6c 65 3a 20 22 20 | 66 69 6c 65 2d 64 69 72 |file: " |file-dir|
|00004a20| 20 6e 69 6c 20 6e 69 6c | 20 66 69 6c 65 2d 6e 61 | nil nil| file-na|
|00004a30| 6d 65 29 29 29 5d 29 0a | 23 40 32 30 38 20 43 72 |me)))]).|#@208 Cr|
|00004a40| 65 61 74 65 20 61 20 73 | 75 69 74 61 62 6c 79 20 |eate a s|uitably |
|00004a50| 6e 61 6d 65 64 20 62 75 | 66 66 65 72 20 66 6f 72 |named bu|ffer for|
|00004a60| 20 76 69 73 69 74 69 6e | 67 20 46 49 4c 45 4e 41 | visitin|g FILENA|
|00004a70| 4d 45 2c 20 61 6e 64 20 | 72 65 74 75 72 6e 20 69 |ME, and |return i|
|00004a80| 74 2e 0a 46 49 4c 45 4e | 41 4d 45 20 28 73 61 6e |t..FILEN|AME (san|
|00004a90| 73 20 64 69 72 65 63 74 | 6f 72 79 29 20 69 73 20 |s direct|ory) is |
|00004aa0| 75 73 65 64 20 75 6e 63 | 68 61 6e 67 65 64 20 69 |used unc|hanged i|
|00004ab0| 66 20 74 68 61 74 20 6e | 61 6d 65 20 69 73 20 66 |f that n|ame is f|
|00004ac0| 72 65 65 3b 0a 6f 74 68 | 65 72 77 69 73 65 20 61 |ree;.oth|erwise a|
|00004ad0| 20 73 74 72 69 6e 67 20 | 3c 32 3e 20 6f 72 20 3c | string |<2> or <|
|00004ae0| 33 3e 20 6f 72 20 2e 2e | 2e 20 69 73 20 61 70 70 |3> or ..|. is app|
|00004af0| 65 6e 64 65 64 20 74 6f | 20 67 65 74 20 61 6e 20 |ended to| get an |
|00004b00| 75 6e 75 73 65 64 20 6e | 61 6d 65 2e 1f 0a 28 64 |unused n|ame...(d|
|00004b10| 65 66 61 6c 69 61 73 20 | 27 63 72 65 61 74 65 2d |efalias |'create-|
|00004b20| 66 69 6c 65 2d 62 75 66 | 66 65 72 20 23 5b 28 66 |file-buf|fer #[(f|
|00004b30| 69 6c 65 6e 61 6d 65 29 | 20 22 c0 09 21 89 1a c3 |ilename)| "..!...|
|00004b40| 98 83 5c 66 00 09 12 c4 | 5c 6e 21 29 87 22 20 5b |..\f....|\n!)." [|
|00004b50| 66 69 6c 65 2d 6e 61 6d | 65 2d 6e 6f 6e 64 69 72 |file-nam|e-nondir|
|00004b60| 65 63 74 6f 72 79 20 66 | 69 6c 65 6e 61 6d 65 20 |ectory f|ilename |
|00004b70| 6c 61 73 74 6e 61 6d 65 | 20 22 22 20 67 65 6e 65 |lastname| "" gene|
|00004b80| 72 61 74 65 2d 6e 65 77 | 2d 62 75 66 66 65 72 5d |rate-new|-buffer]|
|00004b90| 20 33 20 28 23 24 20 2e | 20 31 39 30 30 36 29 5d | 3 (#$ .| 19006)]|
|00004ba0| 29 0a 23 40 31 31 34 20 | 43 72 65 61 74 65 20 61 |).#@114 |Create a|
|00004bb0| 6e 64 20 72 65 74 75 72 | 6e 20 61 20 62 75 66 66 |nd retur|n a buff|
|00004bc0| 65 72 20 77 69 74 68 20 | 61 20 6e 61 6d 65 20 62 |er with |a name b|
|00004bd0| 61 73 65 64 20 6f 6e 20 | 4e 41 4d 45 2e 0a 43 68 |ased on |NAME..Ch|
|00004be0| 6f 6f 73 65 20 74 68 65 | 20 62 75 66 66 65 72 27 |oose the| buffer'|
|00004bf0| 73 20 6e 61 6d 65 20 75 | 73 69 6e 67 20 60 67 65 |s name u|sing `ge|
|00004c00| 6e 65 72 61 74 65 2d 6e | 65 77 2d 62 75 66 66 65 |nerate-n|ew-buffe|
|00004c10| 72 2d 6e 61 6d 65 27 2e | 1f 0a 28 64 65 66 61 6c |r-name'.|..(defal|
|00004c20| 69 61 73 20 27 67 65 6e | 65 72 61 74 65 2d 6e 65 |ias 'gen|erate-ne|
|00004c30| 77 2d 62 75 66 66 65 72 | 20 23 5b 28 6e 61 6d 65 |w-buffer| #[(name|
|00004c40| 29 20 22 c0 c1 5c 6e 21 | 21 87 22 20 5b 67 65 74 |) "..\n!|!." [get|
|00004c50| 2d 62 75 66 66 65 72 2d | 63 72 65 61 74 65 20 67 |-buffer-|create g|
|00004c60| 65 6e 65 72 61 74 65 2d | 6e 65 77 2d 62 75 66 66 |enerate-|new-buff|
|00004c70| 65 72 2d 6e 61 6d 65 20 | 6e 61 6d 65 5d 20 33 20 |er-name |name] 3 |
|00004c80| 28 23 24 20 2e 20 31 39 | 33 36 38 29 5d 29 0a 23 |(#$ . 19|368)]).#|
|00004c90| 40 36 31 20 52 65 67 65 | 78 70 20 74 6f 20 6d 61 |@61 Rege|xp to ma|
|00004ca0| 74 63 68 20 74 68 65 20 | 61 75 74 6f 6d 6f 75 6e |tch the |automoun|
|00004cb0| 74 65 72 20 70 72 65 66 | 69 78 20 69 6e 20 61 20 |ter pref|ix in a |
|00004cc0| 64 69 72 65 63 74 6f 72 | 79 20 6e 61 6d 65 2e 1f |director|y name..|
|00004cd0| 0a 28 64 65 66 63 6f 6e | 73 74 20 61 75 74 6f 6d |.(defcon|st autom|
|00004ce0| 6f 75 6e 74 2d 64 69 72 | 2d 70 72 65 66 69 78 20 |ount-dir|-prefix |
|00004cf0| 22 5e 2f 74 6d 70 5f 6d | 6e 74 2f 22 20 28 23 24 |"^/tmp_m|nt/" (#$|
|00004d00| 20 2e 20 31 39 36 30 34 | 29 29 0a 23 40 37 30 20 | . 19604|)).#@70 |
|00004d10| 54 68 65 20 75 73 65 72 | 27 73 20 68 6f 6d 65 64 |The user|'s homed|
|00004d20| 69 72 20 61 62 62 72 65 | 76 69 61 74 65 64 20 61 |ir abbre|viated a|
|00004d30| 63 63 6f 72 64 69 6e 67 | 20 74 6f 20 60 64 69 72 |ccording| to `dir|
|00004d40| 65 63 74 6f 72 79 2d 61 | 62 62 72 65 76 2d 6c 69 |ectory-a|bbrev-li|
|00004d50| 73 74 27 2e 1f 0a 28 64 | 65 66 76 61 72 20 61 62 |st'...(d|efvar ab|
|00004d60| 62 72 65 76 69 61 74 65 | 64 2d 68 6f 6d 65 2d 64 |breviate|d-home-d|
|00004d70| 69 72 20 6e 69 6c 20 28 | 23 24 20 2e 20 31 39 37 |ir nil (|#$ . 197|
|00004d80| 32 38 29 29 0a 23 40 32 | 30 34 20 52 65 74 75 72 |28)).#@2|04 Retur|
|00004d90| 6e 20 61 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 46 |n a vers|ion of F|
|00004da0| 49 4c 45 4e 41 4d 45 20 | 73 68 6f 72 74 65 6e 65 |ILENAME |shortene|
|00004db0| 64 20 75 73 69 6e 67 20 | 60 64 69 72 65 63 74 6f |d using |`directo|
|00004dc0| 72 79 2d 61 62 62 72 65 | 76 2d 61 6c 69 73 74 27 |ry-abbre|v-alist'|
|00004dd0| 2e 0a 54 68 69 73 20 61 | 6c 73 6f 20 73 75 62 73 |..This a|lso subs|
|00004de0| 74 69 74 75 74 65 73 20 | 22 7e 22 20 66 6f 72 20 |titutes |"~" for |
|00004df0| 74 68 65 20 75 73 65 72 | 27 73 20 68 6f 6d 65 20 |the user|'s home |
|00004e00| 64 69 72 65 63 74 6f 72 | 79 2e 0a 54 79 70 65 20 |director|y..Type |
|00004e10| 5c 5b 64 65 73 63 72 69 | 62 65 2d 76 61 72 69 61 |\[descri|be-varia|
|00004e20| 62 6c 65 5d 20 64 69 72 | 65 63 74 6f 72 79 2d 61 |ble] dir|ectory-a|
|00004e30| 62 62 72 65 76 2d 61 6c | 69 73 74 20 52 45 54 20 |bbrev-al|ist RET |
|00004e40| 66 6f 72 20 6d 6f 72 65 | 20 69 6e 66 6f 72 6d 61 |for more| informa|
|00004e50| 74 69 6f 6e 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |tion...(|defalias|
|00004e60| 20 27 61 62 62 72 65 76 | 69 61 74 65 2d 66 69 6c | 'abbrev|iate-fil|
|00004e70| 65 2d 6e 61 6d 65 20 23 | 5b 28 66 69 6c 65 6e 61 |e-name #|[(filena|
|00004e80| 6d 65 29 20 22 08 83 1f | 00 c1 08 5c 6e 5c 22 83 |me) "...|...\n\".|
|00004e90| 1f 00 c3 c4 5c 6e c5 95 | 53 c6 4f 21 21 83 1f 00 |....\n..|S.O!!...|
|00004ea0| 5c 6e c5 95 53 c6 4f 12 | 0e 07 89 1e 08 83 45 00 |\n..S.O.|......E.|
|00004eb0| c1 0e 08 40 40 5c 6e 5c | 22 83 3c 00 0e 08 40 41 |...@@\n\|".<...@A|
|00004ec0| 5c 6e c5 95 c6 4f 50 12 | 0e 08 41 89 16 08 84 27 |\n...OP.|..A....'|
|00004ed0| 00 0e 09 84 58 00 ca 1e | 09 cb cc cd ce 21 21 cf |....X...|.....!!.|
|00004ee0| 51 29 16 09 c1 0e 09 5c | 6e 5c 22 83 99 00 c5 95 |Q).....\|n\".....|
|00004ef0| d0 55 83 6f 00 5c 6e c5 | 48 d1 55 84 99 00 0e 12 |.U.o.\n.|H.U.....|
|00004f00| d3 3d 84 7d 00 0e 12 d4 | 3d 83 8b 00 d5 20 1e 16 |.=.}....|=.... ..|
|00004f10| d7 8e c1 d8 5c 6e 5c 22 | 2a 84 99 00 ce 5c 6e d0 |....\n\"|*....\n.|
|00004f20| 94 d0 95 4f 5c 6e c5 95 | c6 4f 51 12 5c 6e 29 87 |...O\n..|.OQ.\n).|
|00004f30| 22 20 5b 61 75 74 6f 6d | 6f 75 6e 74 2d 64 69 72 |" [autom|ount-dir|
|00004f40| 2d 70 72 65 66 69 78 20 | 73 74 72 69 6e 67 2d 6d |-prefix |string-m|
|00004f50| 61 74 63 68 20 66 69 6c | 65 6e 61 6d 65 20 66 69 |atch fil|ename fi|
|00004f60| 6c 65 2d 65 78 69 73 74 | 73 2d 70 20 66 69 6c 65 |le-exist|s-p file|
|00004f70| 2d 6e 61 6d 65 2d 64 69 | 72 65 63 74 6f 72 79 20 |-name-di|rectory |
|00004f80| 30 20 6e 69 6c 20 64 69 | 72 65 63 74 6f 72 79 2d |0 nil di|rectory-|
|00004f90| 61 62 62 72 65 76 2d 61 | 6c 69 73 74 20 74 61 69 |abbrev-a|list tai|
|00004fa0| 6c 20 61 62 62 72 65 76 | 69 61 74 65 64 2d 68 6f |l abbrev|iated-ho|
|00004fb0| 6d 65 2d 64 69 72 20 22 | 24 66 6f 6f 22 20 22 5e |me-dir "|$foo" "^|
|00004fc0| 22 20 61 62 62 72 65 76 | 69 61 74 65 2d 66 69 6c |" abbrev|iate-fil|
|00004fd0| 65 2d 6e 61 6d 65 20 65 | 78 70 61 6e 64 2d 66 69 |e-name e|xpand-fi|
|00004fe0| 6c 65 2d 6e 61 6d 65 20 | 22 7e 22 20 22 5c 5c 28 |le-name |"~" "\\(|
|00004ff0| 2f 5c 5c 7c 24 5c 5c 29 | 22 20 31 20 34 37 20 73 |/\\|$\\)|" 1 47 s|
|00005000| 79 73 74 65 6d 2d 74 79 | 70 65 20 6d 73 2d 64 6f |ystem-ty|pe ms-do|
|00005010| 73 20 77 69 6e 64 6f 77 | 73 2d 6e 74 20 6d 61 74 |s window|s-nt mat|
|00005020| 63 68 2d 64 61 74 61 20 | 6d 61 74 63 68 2d 64 61 |ch-data |match-da|
|00005030| 74 61 20 28 28 73 74 6f | 72 65 2d 6d 61 74 63 68 |ta ((sto|re-match|
|00005040| 2d 64 61 74 61 20 6d 61 | 74 63 68 2d 64 61 74 61 |-data ma|tch-data|
|00005050| 29 29 20 22 5e 5b 61 2d | 7a 41 2d 60 5d 3a 2f 24 |)) "^[a-|zA-`]:/$|
|00005060| 22 5d 20 36 20 28 23 24 | 20 2e 20 31 39 38 35 31 |"] 6 (#$| . 19851|
|00005070| 29 5d 29 0a 23 40 33 32 | 39 20 2a 4c 69 73 74 20 |)]).#@32|9 *List |
|00005080| 6f 66 20 6c 6f 67 69 63 | 61 6c 20 6e 61 6d 65 73 |of logic|al names|
|00005090| 20 66 6f 72 20 77 68 69 | 63 68 20 76 69 73 69 74 | for whi|ch visit|
|000050a0| 69 6e 67 20 73 68 6f 75 | 6c 64 6e 27 74 20 73 61 |ing shou|ldn't sa|
|000050b0| 76 65 20 74 68 65 20 74 | 72 75 65 20 64 69 72 6e |ve the t|rue dirn|
|000050c0| 61 6d 65 2e 0a 4f 6e 20 | 56 4d 53 2c 20 77 68 65 |ame..On |VMS, whe|
|000050d0| 6e 20 79 6f 75 20 76 69 | 73 69 74 20 61 20 66 69 |n you vi|sit a fi|
|000050e0| 6c 65 20 75 73 69 6e 67 | 20 61 20 6c 6f 67 69 63 |le using| a logic|
|000050f0| 61 6c 20 6e 61 6d 65 20 | 74 68 61 74 20 73 65 61 |al name |that sea|
|00005100| 72 63 68 65 73 20 61 20 | 70 61 74 68 2c 0a 79 6f |rches a |path,.yo|
|00005110| 75 20 6d 61 79 20 6f 72 | 20 6d 61 79 20 6e 6f 74 |u may or| may not|
|00005120| 20 77 61 6e 74 20 74 68 | 65 20 76 69 73 69 74 65 | want th|e visite|
|00005130| 64 20 66 69 6c 65 20 6e | 61 6d 65 20 74 6f 20 72 |d file n|ame to r|
|00005140| 65 63 6f 72 64 20 74 68 | 65 20 73 70 65 63 69 66 |ecord th|e specif|
|00005150| 69 63 0a 64 69 72 65 63 | 74 6f 72 79 20 77 68 65 |ic.direc|tory whe|
|00005160| 72 65 20 74 68 65 20 66 | 69 6c 65 20 77 61 73 20 |re the f|ile was |
|00005170| 66 6f 75 6e 64 2e 20 20 | 49 66 20 79 6f 75 20 2a |found. |If you *|
|00005180| 64 6f 20 6e 6f 74 2a 20 | 77 61 6e 74 20 74 68 61 |do not* |want tha|
|00005190| 74 2c 20 61 64 64 20 74 | 68 65 20 6c 6f 67 69 63 |t, add t|he logic|
|000051a0| 61 6c 0a 6e 61 6d 65 20 | 74 6f 20 74 68 69 73 20 |al.name |to this |
|000051b0| 6c 69 73 74 20 61 73 20 | 61 20 73 74 72 69 6e 67 |list as |a string|
|000051c0| 2e 1f 0a 28 64 65 66 76 | 61 72 20 66 69 6e 64 2d |...(defv|ar find-|
|000051d0| 66 69 6c 65 2d 6e 6f 74 | 2d 74 72 75 65 2d 64 69 |file-not|-true-di|
|000051e0| 72 6e 61 6d 65 2d 6c 69 | 73 74 20 6e 69 6c 20 28 |rname-li|st nil (|
|000051f0| 23 24 20 2e 20 2d 32 30 | 36 30 32 29 29 0a 23 40 |#$ . -20|602)).#@|
|00005200| 32 32 35 20 52 65 74 75 | 72 6e 20 74 68 65 20 62 |225 Retu|rn the b|
|00005210| 75 66 66 65 72 20 76 69 | 73 69 74 69 6e 67 20 66 |uffer vi|siting f|
|00005220| 69 6c 65 20 46 49 4c 45 | 4e 41 4d 45 20 28 61 20 |ile FILE|NAME (a |
|00005230| 73 74 72 69 6e 67 29 2e | 0a 54 68 69 73 20 69 73 |string).|.This is|
|00005240| 20 6c 69 6b 65 20 60 67 | 65 74 2d 66 69 6c 65 2d | like `g|et-file-|
|00005250| 62 75 66 66 65 72 27 2c | 20 65 78 63 65 70 74 20 |buffer',| except |
|00005260| 74 68 61 74 20 69 74 20 | 63 68 65 63 6b 73 20 66 |that it |checks f|
|00005270| 6f 72 20 61 6e 79 20 62 | 75 66 66 65 72 0a 76 69 |or any b|uffer.vi|
|00005280| 73 69 74 69 6e 67 20 74 | 68 65 20 73 61 6d 65 20 |siting t|he same |
|00005290| 66 69 6c 65 2c 20 70 6f | 73 73 69 62 6c 79 20 75 |file, po|ssibly u|
|000052a0| 6e 64 65 72 20 61 20 64 | 69 66 66 65 72 65 6e 74 |nder a d|ifferent|
|000052b0| 20 6e 61 6d 65 2e 0a 49 | 66 20 74 68 65 72 65 20 | name..I|f there |
|000052c0| 69 73 20 6e 6f 20 73 75 | 63 68 20 6c 69 76 65 20 |is no su|ch live |
|000052d0| 62 75 66 66 65 72 2c 20 | 72 65 74 75 72 6e 20 6e |buffer, |return n|
|000052e0| 69 6c 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |il...(de|falias '|
|000052f0| 66 69 6e 64 2d 62 75 66 | 66 65 72 2d 76 69 73 69 |find-buf|fer-visi|
|00005300| 74 69 6e 67 20 23 5b 28 | 66 69 6c 65 6e 61 6d 65 |ting #[(|filename|
|00005310| 29 20 22 c0 09 21 c2 c3 | 09 21 21 1c 89 1d 86 9e |) "..!..|.!!.....|
|00005320| 00 c6 20 c7 1e 08 1e 09 | 0e 08 84 3f 00 0e 09 83 |.. .....|...?....|
|00005330| 3f 00 8a 0e 09 40 71 88 | 0e 5c 6e 83 36 00 0e 0b |?....@q.|.\n.6...|
|00005340| 5c 66 98 83 36 00 0e 09 | 40 16 08 29 0e 09 41 16 |\f..6...|@..)..A.|
|00005350| 09 82 15 00 0e 08 2a 86 | 9e 00 cc cd 5c 66 21 9b |......*.|....\f!.|
|00005360| c6 20 c7 1e 08 1e 09 1e | 0e 0e 0f 83 9b 00 0e 0e |. ......|........|
|00005370| 83 9b 00 0e 08 84 9b 00 | 0e 09 83 9b 00 8a 0e 09 |........|........|
|00005380| 40 71 88 0e 5c 6e 83 92 | 00 0e 10 0e 0e 9a 83 92 |@q..\n..|........|
|00005390| 00 d1 0e 5c 6e 21 83 92 | 00 cc cd 0e 5c 6e 21 9b |...\n!..|....\n!.|
|000053a0| 0e 0e 9a 83 92 00 0e 09 | 40 16 08 29 0e 09 41 16 |........|@..)..A.|
|000053b0| 09 82 5d 00 0e 08 2b 2a | 87 22 20 5b 67 65 74 2d |..]...+*|." [get-|
|000053c0| 66 69 6c 65 2d 62 75 66 | 66 65 72 20 66 69 6c 65 |file-buf|fer file|
|000053d0| 6e 61 6d 65 20 61 62 62 | 72 65 76 69 61 74 65 2d |name abb|reviate-|
|000053e0| 66 69 6c 65 2d 6e 61 6d | 65 20 66 69 6c 65 2d 74 |file-nam|e file-t|
|000053f0| 72 75 65 6e 61 6d 65 20 | 74 72 75 65 6e 61 6d 65 |ruename |truename|
|00005400| 20 62 75 66 20 62 75 66 | 66 65 72 2d 6c 69 73 74 | buf buf|fer-list|
|00005410| 20 6e 69 6c 20 66 6f 75 | 6e 64 20 6c 69 73 74 20 | nil fou|nd list |
|00005420| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 6e 61 6d 65 |buffer-f|ile-name|
|00005430| 20 62 75 66 66 65 72 2d | 66 69 6c 65 2d 74 72 75 | buffer-|file-tru|
|00005440| 65 6e 61 6d 65 20 31 30 | 20 66 69 6c 65 2d 61 74 |ename 10| file-at|
|00005450| 74 72 69 62 75 74 65 73 | 20 6e 75 6d 62 65 72 20 |tributes| number |
|00005460| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 6e 75 6d 62 |buffer-f|ile-numb|
|00005470| 65 72 73 2d 75 6e 69 71 | 75 65 20 62 75 66 66 65 |ers-uniq|ue buffe|
|00005480| 72 2d 66 69 6c 65 2d 6e | 75 6d 62 65 72 20 66 69 |r-file-n|umber fi|
|00005490| 6c 65 2d 65 78 69 73 74 | 73 2d 70 5d 20 35 20 28 |le-exist|s-p] 5 (|
|000054a0| 23 24 20 2e 20 32 30 39 | 39 36 29 5d 29 0a 23 40 |#$ . 209|96)]).#@|
|000054b0| 33 30 38 20 4c 69 6b 65 | 20 60 69 6e 73 65 72 74 |308 Like| `insert|
|000054c0| 2d 66 69 6c 65 2d 63 6f | 6e 74 65 6e 74 73 27 2c |-file-co|ntents',|
|000054d0| 20 71 2e 76 2e 2c 20 62 | 75 74 20 6f 6e 6c 79 20 | q.v., b|ut only |
|000054e0| 72 65 61 64 73 20 69 6e | 20 74 68 65 20 66 69 6c |reads in| the fil|
|000054f0| 65 2e 0a 41 20 62 75 66 | 66 65 72 20 6d 61 79 20 |e..A buf|fer may |
|00005500| 62 65 20 6d 6f 64 69 66 | 69 65 64 20 69 6e 20 73 |be modif|ied in s|
|00005510| 65 76 65 72 61 6c 20 77 | 61 79 73 20 61 66 74 65 |everal w|ays afte|
|00005520| 72 20 72 65 61 64 69 6e | 67 20 69 6e 74 6f 20 74 |r readin|g into t|
|00005530| 68 65 20 62 75 66 66 65 | 72 20 64 75 65 0a 74 6f |he buffe|r due.to|
|00005540| 20 61 64 76 61 6e 63 65 | 64 20 45 6d 61 63 73 20 | advance|d Emacs |
|00005550| 66 65 61 74 75 72 65 73 | 2c 20 73 75 63 68 20 61 |features|, such a|
|00005560| 73 20 66 69 6c 65 2d 6e | 61 6d 65 2d 68 61 6e 64 |s file-n|ame-hand|
|00005570| 6c 65 72 73 2c 20 66 6f | 72 6d 61 74 20 64 65 63 |lers, fo|rmat dec|
|00005580| 6f 64 69 6e 67 2c 0a 66 | 69 6e 64 2d 66 69 6c 65 |oding,.f|ind-file|
|00005590| 2d 68 6f 6f 6b 73 2c 20 | 65 74 63 2e 0a 20 20 54 |-hooks, |etc.. T|
|000055a0| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 65 6e 73 |his func|tion ens|
|000055b0| 75 72 65 73 20 74 68 61 | 74 20 6e 6f 6e 65 20 6f |ures tha|t none o|
|000055c0| 66 20 74 68 65 73 65 20 | 6d 6f 64 69 66 69 63 61 |f these |modifica|
|000055d0| 74 69 6f 6e 73 20 77 69 | 6c 6c 20 74 61 6b 65 20 |tions wi|ll take |
|000055e0| 70 6c 61 63 65 2e 1f 0a | 28 64 65 66 61 6c 69 61 |place...|(defalia|
|000055f0| 73 20 27 69 6e 73 65 72 | 74 2d 66 69 6c 65 2d 63 |s 'inser|t-file-c|
|00005600| 6f 6e 74 65 6e 74 73 2d | 6c 69 74 65 72 61 6c 6c |ontents-|literall|
|00005610| 79 20 23 5b 28 66 69 6c | 65 6e 61 6d 65 20 26 6f |y #[(fil|ename &o|
|00005620| 70 74 69 6f 6e 61 6c 20 | 76 69 73 69 74 20 62 65 |ptional |visit be|
|00005630| 67 20 65 6e 64 20 72 65 | 70 6c 61 63 65 29 20 22 |g end re|place) "|
|00005640| c0 89 89 c1 c2 21 85 0b | 00 c2 4b 1b 1c 1d 1e 06 |.....!..|..K.....|
|00005650| c7 8e c2 c8 4d 88 c9 0e | 5c 6e 0e 0b 0e 5c 66 0e |....M...|\n...\f.|
|00005660| 0d 0e 0e 25 2d 87 22 20 | 5b 6e 69 6c 20 66 62 6f |...%-." |[nil fbo|
|00005670| 75 6e 64 70 20 66 69 6e | 64 2d 62 75 66 66 65 72 |undp fin|d-buffer|
|00005680| 2d 66 69 6c 65 2d 74 79 | 70 65 20 66 69 6e 64 2d |-file-ty|pe find-|
|00005690| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 74 79 70 65 |buffer-f|ile-type|
|000056a0| 2d 66 75 6e 63 74 69 6f | 6e 20 61 66 74 65 72 2d |-functio|n after-|
|000056b0| 69 6e 73 65 72 74 2d 66 | 69 6c 65 2d 66 75 6e 63 |insert-f|ile-func|
|000056c0| 74 69 6f 6e 73 20 66 6f | 72 6d 61 74 2d 61 6c 69 |tions fo|rmat-ali|
|000056d0| 73 74 20 66 69 6c 65 2d | 6e 61 6d 65 2d 68 61 6e |st file-|name-han|
|000056e0| 64 6c 65 72 2d 61 6c 69 | 73 74 20 28 28 62 79 74 |dler-ali|st ((byt|
|000056f0| 65 2d 63 6f 64 65 20 22 | 08 83 0b 00 c1 08 4d 88 |e-code "|......M.|
|00005700| 82 0f 00 c2 c1 21 88 c1 | 87 22 20 5b 66 69 6e 64 |.....!..|." [find|
|00005710| 2d 62 75 66 66 65 72 2d | 66 69 6c 65 2d 74 79 70 |-buffer-|file-typ|
|00005720| 65 2d 66 75 6e 63 74 69 | 6f 6e 20 66 69 6e 64 2d |e-functi|on find-|
|00005730| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 74 79 70 65 |buffer-f|ile-type|
|00005740| 20 66 6d 61 6b 75 6e 62 | 6f 75 6e 64 5d 20 32 29 | fmakunb|ound] 2)|
|00005750| 29 20 23 5b 28 66 69 6c | 65 6e 61 6d 65 29 20 22 |) #[(fil|ename) "|
|00005760| c0 87 22 20 5b 74 5d 20 | 31 5d 20 69 6e 73 65 72 |.." [t] |1] inser|
|00005770| 74 2d 66 69 6c 65 2d 63 | 6f 6e 74 65 6e 74 73 20 |t-file-c|ontents |
|00005780| 66 69 6c 65 6e 61 6d 65 | 20 76 69 73 69 74 20 62 |filename| visit b|
|00005790| 65 67 20 65 6e 64 20 72 | 65 70 6c 61 63 65 5d 20 |eg end r|eplace] |
|000057a0| 36 20 28 23 24 20 2e 20 | 32 31 36 38 34 29 5d 29 |6 (#$ . |21684)])|
|000057b0| 0a 23 40 32 33 34 20 52 | 65 61 64 20 66 69 6c 65 |.#@234 R|ead file|
|000057c0| 20 46 49 4c 45 4e 41 4d | 45 20 69 6e 74 6f 20 61 | FILENAM|E into a|
|000057d0| 20 62 75 66 66 65 72 20 | 61 6e 64 20 72 65 74 75 | buffer |and retu|
|000057e0| 72 6e 20 74 68 65 20 62 | 75 66 66 65 72 2e 0a 49 |rn the b|uffer..I|
|000057f0| 66 20 61 20 62 75 66 66 | 65 72 20 65 78 69 73 74 |f a buff|er exist|
|00005800| 73 20 76 69 73 69 74 69 | 6e 67 20 46 49 4c 45 4e |s visiti|ng FILEN|
|00005810| 41 4d 45 2c 20 72 65 74 | 75 72 6e 20 74 68 61 74 |AME, ret|urn that|
|00005820| 20 6f 6e 65 2c 20 62 75 | 74 0a 76 65 72 69 66 79 | one, bu|t.verify|
|00005830| 20 74 68 61 74 20 74 68 | 65 20 66 69 6c 65 20 68 | that th|e file h|
|00005840| 61 73 20 6e 6f 74 20 63 | 68 61 6e 67 65 64 20 73 |as not c|hanged s|
|00005850| 69 6e 63 65 20 76 69 73 | 69 74 65 64 20 6f 72 20 |ince vis|ited or |
|00005860| 73 61 76 65 64 2e 0a 54 | 68 65 20 62 75 66 66 65 |saved..T|he buffe|
|00005870| 72 20 69 73 20 6e 6f 74 | 20 73 65 6c 65 63 74 65 |r is not| selecte|
|00005880| 64 2c 20 6a 75 73 74 20 | 72 65 74 75 72 6e 65 64 |d, just |returned|
|00005890| 20 74 6f 20 74 68 65 20 | 63 61 6c 6c 65 72 2e 1f | to the |caller..|
|000058a0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 66 69 6e 64 |.(defali|as 'find|
|000058b0| 2d 66 69 6c 65 2d 6e 6f | 73 65 6c 65 63 74 20 23 |-file-no|select #|
|000058c0| 5b 28 66 69 6c 65 6e 61 | 6d 65 20 26 6f 70 74 69 |[(filena|me &opti|
|000058d0| 6f 6e 61 6c 20 6e 6f 77 | 61 72 6e 20 72 61 77 66 |onal now|arn rawf|
|000058e0| 69 6c 65 29 20 22 c0 c1 | 5c 6e 21 21 12 c3 5c 6e |ile) "..|\n!!..\n|
|000058f0| 21 83 26 00 5c 66 83 21 | 00 c5 0e 06 83 1e 00 c0 |!.&.\f.!|........|
|00005900| c7 5c 6e 21 21 82 1f 00 | 5c 6e 21 87 c8 c9 5c 6e |.\n!!...|\n!...\n|
|00005910| 5c 22 87 ca 5c 6e 21 1e | 0b c0 c7 5c 6e 21 21 1e |\"..\n!.|...\n!!.|
|00005920| 5c 66 cd ce 0e 5c 66 21 | 9b 1e 0f 0e 0b 3f 85 43 |\f...\f!|.....?.C|
|00005930| 00 d0 5c 6e 21 1e 11 d2 | 1e 08 0e 11 83 72 00 0e |..\n!...|.....r..|
|00005940| 13 84 64 00 5c 6e d4 0e | 11 21 98 84 64 00 d5 d6 |..d.\n..|.!..d...|
|00005950| 5c 6e d4 0e 11 21 23 88 | 0e 17 84 6e 00 0e 06 83 |\n...!#.|...n....|
|00005960| 72 00 0e 11 16 0b 0e 0b | 83 d8 00 0e 13 84 5f 01 |r.......|......_.|
|00005970| d8 0e 0b 21 84 5f 01 d9 | 5c 6e 21 84 91 00 c8 da |...!._..|\n!.....|
|00005980| 5c 6e 5c 22 88 82 5f 01 | db dc 5c 6e 21 dd 0e 0b |\n\".._.|..\n!...|
|00005990| 21 98 83 b1 00 de df 0e | 0b 21 83 a9 00 e0 82 aa |!.......|.!......|
|000059a0| 00 e1 dc 5c 6e 21 5c 22 | 82 c6 00 de df 0e 0b 21 |...\n!\"|.......!|
|000059b0| 83 bd 00 e2 82 be 00 e3 | dc 5c 6e 21 dd 0e 0b 21 |........|.\n!...!|
|000059c0| 23 21 83 5f 01 8a 0e 0b | 71 88 e4 e5 89 5c 22 88 |#!._....|q....\".|
|000059d0| 29 82 5f 01 8a e6 5c 6e | 21 16 0b e7 0e 0b 21 88 |)._...\n|!.....!.|
|000059e0| 0e 0b 71 88 e8 20 88 0e | 29 83 f7 00 d2 ea eb 8f |..q.. ..|).......|
|000059f0| 88 82 fc 00 d2 ec ed 8f | 88 0e 5c 66 16 2e 0e 0f |........|..\f....|
|00005a00| 16 2f 0e 30 f1 3d 83 2d | 01 d2 1e 32 f3 f4 f5 5c |./.0.=.-|...2...\|
|00005a10| 6e 21 5c 22 83 20 01 f5 | 5c 6e 21 f6 89 94 4f 16 |n!\". ..|\n!...O.|
|00005a20| 32 0e 32 0e 37 9d 29 84 | 2d 01 0e 2e 16 14 0e 06 |2.2.7.).|-.......|
|00005a30| 83 3a 01 c1 0e 2e 21 89 | 12 16 14 f5 5c 6e 21 16 |.:....!.|....\n!.|
|00005a40| 38 0e 39 0e 14 21 84 4e | 01 fa fb 21 88 e5 16 3b |8.9..!.N|...!...;|
|00005a50| 0e 29 84 5e 01 fc 0e 08 | 0e 13 3f 5c 22 88 70 16 |.).^....|..?\".p.|
|00005a60| 0b 29 0e 0b 2d 87 22 20 | 5b 61 62 62 72 65 76 69 |.)..-." |[abbrevi|
|00005a70| 61 74 65 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 65 78 |ate-file|-name ex|
|00005a80| 70 61 6e 64 2d 66 69 6c | 65 2d 6e 61 6d 65 20 66 |pand-fil|e-name f|
|00005a90| 69 6c 65 6e 61 6d 65 20 | 66 69 6c 65 2d 64 69 72 |ilename |file-dir|
|00005aa0| 65 63 74 6f 72 79 2d 70 | 20 66 69 6e 64 2d 66 69 |ectory-p| find-fi|
|00005ab0| 6c 65 2d 72 75 6e 2d 64 | 69 72 65 64 20 64 69 72 |le-run-d|ired dir|
|00005ac0| 65 64 2d 6e 6f 73 65 6c | 65 63 74 20 66 69 6e 64 |ed-nosel|ect find|
|00005ad0| 2d 66 69 6c 65 2d 76 69 | 73 69 74 2d 74 72 75 65 |-file-vi|sit-true|
|00005ae0| 6e 61 6d 65 20 66 69 6c | 65 2d 74 72 75 65 6e 61 |name fil|e-truena|
|00005af0| 6d 65 20 65 72 72 6f 72 | 20 22 25 73 20 69 73 20 |me error| "%s is |
|00005b00| 61 20 64 69 72 65 63 74 | 6f 72 79 22 20 67 65 74 |a direct|ory" get|
|00005b10| 2d 66 69 6c 65 2d 62 75 | 66 66 65 72 20 62 75 66 |-file-bu|ffer buf|
|00005b20| 20 74 72 75 65 6e 61 6d | 65 20 31 30 20 66 69 6c | truenam|e 10 fil|
|00005b30| 65 2d 61 74 74 72 69 62 | 75 74 65 73 20 6e 75 6d |e-attrib|utes num|
|00005b40| 62 65 72 20 66 69 6e 64 | 2d 62 75 66 66 65 72 2d |ber find|-buffer-|
|00005b50| 76 69 73 69 74 69 6e 67 | 20 6f 74 68 65 72 20 6e |visiting| other n|
|00005b60| 69 6c 20 6e 6f 77 61 72 | 6e 20 62 75 66 66 65 72 |il nowar|n buffer|
|00005b70| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 6d 65 73 73 61 |-file-na|me messa|
|00005b80| 67 65 20 22 25 73 20 61 | 6e 64 20 25 73 20 61 72 |ge "%s a|nd %s ar|
|00005b90| 65 20 74 68 65 20 73 61 | 6d 65 20 66 69 6c 65 22 |e the sa|me file"|
|00005ba0| 20 66 69 6e 64 2d 66 69 | 6c 65 2d 65 78 69 73 74 | find-fi|le-exist|
|00005bb0| 69 6e 67 2d 6f 74 68 65 | 72 2d 6e 61 6d 65 20 76 |ing-othe|r-name v|
|00005bc0| 65 72 69 66 79 2d 76 69 | 73 69 74 65 64 2d 66 69 |erify-vi|sited-fi|
|00005bd0| 6c 65 2d 6d 6f 64 74 69 | 6d 65 20 66 69 6c 65 2d |le-modti|me file-|
|00005be0| 65 78 69 73 74 73 2d 70 | 20 22 46 69 6c 65 20 25 |exists-p| "File %|
|00005bf0| 73 20 6e 6f 20 6c 6f 6e | 67 65 72 20 65 78 69 73 |s no lon|ger exis|
|00005c00| 74 73 21 22 20 79 65 73 | 2d 6f 72 2d 6e 6f 2d 70 |ts!" yes|-or-no-p|
|00005c10| 20 66 69 6c 65 2d 6e 61 | 6d 65 2d 6e 6f 6e 64 69 | file-na|me-nondi|
|00005c20| 72 65 63 74 6f 72 79 20 | 62 75 66 66 65 72 2d 6e |rectory |buffer-n|
|00005c30| 61 6d 65 20 66 6f 72 6d | 61 74 20 62 75 66 66 65 |ame form|at buffe|
|00005c40| 72 2d 6d 6f 64 69 66 69 | 65 64 2d 70 20 22 46 69 |r-modifi|ed-p "Fi|
|00005c50| 6c 65 20 25 73 20 63 68 | 61 6e 67 65 64 20 6f 6e |le %s ch|anged on|
|00005c60| 20 64 69 73 6b 2e 20 20 | 44 69 73 63 61 72 64 20 | disk. |Discard |
|00005c70| 79 6f 75 72 20 65 64 69 | 74 73 3f 20 22 20 22 46 |your edi|ts? " "F|
|00005c80| 69 6c 65 20 25 73 20 63 | 68 61 6e 67 65 64 20 6f |ile %s c|hanged o|
|00005c90| 6e 20 64 69 73 6b 2e 20 | 20 52 65 72 65 61 64 20 |n disk. | Reread |
|00005ca0| 66 72 6f 6d 20 64 69 73 | 6b 3f 20 22 20 22 46 69 |from dis|k? " "Fi|
|00005cb0| 6c 65 20 25 73 20 63 68 | 61 6e 67 65 64 20 6f 6e |le %s ch|anged on|
|00005cc0| 20 64 69 73 6b 2e 20 20 | 44 69 73 63 61 72 64 20 | disk. |Discard |
|00005cd0| 79 6f 75 72 20 65 64 69 | 74 73 20 69 6e 20 25 73 |your edi|ts in %s|
|00005ce0| 3f 20 22 20 22 46 69 6c | 65 20 25 73 20 63 68 61 |? " "Fil|e %s cha|
|00005cf0| 6e 67 65 64 20 6f 6e 20 | 64 69 73 6b 2e 20 20 52 |nged on |disk. R|
|00005d00| 65 72 65 61 64 20 66 72 | 6f 6d 20 64 69 73 6b 20 |eread fr|om disk |
|00005d10| 69 6e 74 6f 20 25 73 3f | 20 22 20 72 65 76 65 72 |into %s?| " rever|
|00005d20| 74 2d 62 75 66 66 65 72 | 20 74 20 63 72 65 61 74 |t-buffer| t creat|
|00005d30| 65 2d 66 69 6c 65 2d 62 | 75 66 66 65 72 20 73 65 |e-file-b|uffer se|
|00005d40| 74 2d 62 75 66 66 65 72 | 2d 6d 61 6a 6f 72 2d 6d |t-buffer|-major-m|
|00005d50| 6f 64 65 20 65 72 61 73 | 65 2d 62 75 66 66 65 72 |ode eras|e-buffer|
|00005d60| 20 72 61 77 66 69 6c 65 | 20 28 69 6e 73 65 72 74 | rawfile| (insert|
|00005d70| 2d 66 69 6c 65 2d 63 6f | 6e 74 65 6e 74 73 2d 6c |-file-co|ntents-l|
|00005d80| 69 74 65 72 61 6c 6c 79 | 20 66 69 6c 65 6e 61 6d |iterally| filenam|
|00005d90| 65 20 74 29 20 28 28 66 | 69 6c 65 2d 65 72 72 6f |e t) ((f|ile-erro|
|00005da0| 72 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 11 |r (byte-|code "..|
|00005db0| c0 87 22 20 5b 74 20 65 | 72 72 6f 72 5d 20 31 29 |.." [t e|rror] 1)|
|00005dc0| 29 29 20 28 69 6e 73 65 | 72 74 2d 66 69 6c 65 2d |)) (inse|rt-file-|
|00005dd0| 63 6f 6e 74 65 6e 74 73 | 20 66 69 6c 65 6e 61 6d |contents| filenam|
|00005de0| 65 20 74 29 20 28 28 66 | 69 6c 65 2d 65 72 72 6f |e t) ((f|ile-erro|
|00005df0| 72 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |r (byte-|code "..|
|00005e00| 21 84 08 00 c2 13 c0 87 | 22 20 5b 72 75 6e 2d 68 |!.......|" [run-h|
|00005e10| 6f 6f 6b 2d 77 69 74 68 | 2d 61 72 67 73 2d 75 6e |ook-with|-args-un|
|00005e20| 74 69 6c 2d 73 75 63 63 | 65 73 73 20 66 69 6e 64 |til-succ|ess find|
|00005e30| 2d 66 69 6c 65 2d 6e 6f | 74 2d 66 6f 75 6e 64 2d |-file-no|t-found-|
|00005e40| 68 6f 6f 6b 73 20 74 20 | 65 72 72 6f 72 5d 20 32 |hooks t |error] 2|
|00005e50| 29 29 29 20 62 75 66 66 | 65 72 2d 66 69 6c 65 2d |))) buff|er-file-|
|00005e60| 74 72 75 65 6e 61 6d 65 | 20 62 75 66 66 65 72 2d |truename| buffer-|
|00005e70| 66 69 6c 65 2d 6e 75 6d | 62 65 72 20 73 79 73 74 |file-num|ber syst|
|00005e80| 65 6d 2d 74 79 70 65 20 | 76 61 78 2d 76 6d 73 20 |em-type |vax-vms |
|00005e90| 6c 6f 67 69 63 61 6c 20 | 73 74 72 69 6e 67 2d 6d |logical |string-m|
|00005ea0| 61 74 63 68 20 22 3a 22 | 20 66 69 6c 65 2d 6e 61 |atch ":"| file-na|
|00005eb0| 6d 65 2d 64 69 72 65 63 | 74 6f 72 79 20 30 20 66 |me-direc|tory 0 f|
|00005ec0| 69 6e 64 2d 66 69 6c 65 | 2d 6e 6f 74 2d 74 72 75 |ind-file|-not-tru|
|00005ed0| 65 2d 64 69 72 6e 61 6d | 65 2d 6c 69 73 74 20 64 |e-dirnam|e-list d|
|00005ee0| 65 66 61 75 6c 74 2d 64 | 69 72 65 63 74 6f 72 79 |efault-d|irectory|
|00005ef0| 20 62 61 63 6b 75 70 2d | 65 6e 61 62 6c 65 2d 70 | backup-|enable-p|
|00005f00| 72 65 64 69 63 61 74 65 | 20 6d 61 6b 65 2d 6c 6f |redicate| make-lo|
|00005f10| 63 61 6c 2d 76 61 72 69 | 61 62 6c 65 20 62 61 63 |cal-vari|able bac|
|00005f20| 6b 75 70 2d 69 6e 68 69 | 62 69 74 65 64 20 61 66 |kup-inhi|bited af|
|00005f30| 74 65 72 2d 66 69 6e 64 | 2d 66 69 6c 65 5d 20 36 |ter-find|-file] 6|
|00005f40| 20 28 23 24 20 2e 20 32 | 32 34 35 35 29 5d 29 0a | (#$ . 2|2455)]).|
|00005f50| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 21 84 |(byte-co|de "..!.|
|00005f60| 08 00 c2 11 c1 0b 42 13 | c2 87 22 20 5b 62 6f 75 |......B.|.." [bou|
|00005f70| 6e 64 70 20 61 66 74 65 | 72 2d 66 69 6e 64 2d 66 |ndp afte|r-find-f|
|00005f80| 69 6c 65 2d 66 72 6f 6d | 2d 72 65 76 65 72 74 2d |ile-from|-revert-|
|00005f90| 62 75 66 66 65 72 20 6e | 69 6c 20 63 75 72 72 65 |buffer n|il curre|
|00005fa0| 6e 74 2d 6c 6f 61 64 2d | 6c 69 73 74 5d 20 32 29 |nt-load-|list] 2)|
|00005fb0| 0a 23 40 35 38 36 20 43 | 61 6c 6c 65 64 20 61 66 |.#@586 C|alled af|
|00005fc0| 74 65 72 20 66 69 6e 64 | 69 6e 67 20 61 20 66 69 |ter find|ing a fi|
|00005fd0| 6c 65 20 61 6e 64 20 62 | 79 20 74 68 65 20 64 65 |le and b|y the de|
|00005fe0| 66 61 75 6c 74 20 72 65 | 76 65 72 74 20 66 75 6e |fault re|vert fun|
|00005ff0| 63 74 69 6f 6e 2e 0a 53 | 65 74 73 20 62 75 66 66 |ction..S|ets buff|
|00006000| 65 72 20 6d 6f 64 65 2c | 20 70 61 72 73 65 73 20 |er mode,| parses |
|00006010| 6c 6f 63 61 6c 20 76 61 | 72 69 61 62 6c 65 73 2e |local va|riables.|
|00006020| 0a 4f 70 74 69 6f 6e 61 | 6c 20 61 72 67 73 20 45 |.Optiona|l args E|
|00006030| 52 52 4f 52 2c 20 57 41 | 52 4e 2c 20 61 6e 64 20 |RROR, WA|RN, and |
|00006040| 4e 4f 41 55 54 4f 3a 20 | 45 52 52 4f 52 20 6e 6f |NOAUTO: |ERROR no|
|00006050| 6e 2d 6e 69 6c 20 6d 65 | 61 6e 73 20 74 68 65 72 |n-nil me|ans ther|
|00006060| 65 20 77 61 73 20 61 6e | 0a 65 72 72 6f 72 20 69 |e was an|.error i|
|00006070| 6e 20 72 65 61 64 69 6e | 67 20 74 68 65 20 66 69 |n readin|g the fi|
|00006080| 6c 65 2e 20 20 57 41 52 | 4e 20 6e 6f 6e 2d 6e 69 |le. WAR|N non-ni|
|00006090| 6c 20 6d 65 61 6e 73 20 | 77 61 72 6e 20 69 66 20 |l means |warn if |
|000060a0| 74 68 65 72 65 0a 65 78 | 69 73 74 73 20 61 6e 20 |there.ex|ists an |
|000060b0| 61 75 74 6f 2d 73 61 76 | 65 20 66 69 6c 65 20 6d |auto-sav|e file m|
|000060c0| 6f 72 65 20 72 65 63 65 | 6e 74 20 74 68 61 6e 20 |ore rece|nt than |
|000060d0| 74 68 65 20 76 69 73 69 | 74 65 64 20 66 69 6c 65 |the visi|ted file|
|000060e0| 2e 0a 4e 4f 41 55 54 4f | 20 6d 65 61 6e 73 20 64 |..NOAUTO| means d|
|000060f0| 6f 6e 27 74 20 6d 65 73 | 73 20 77 69 74 68 20 61 |on't mes|s with a|
|00006100| 75 74 6f 2d 73 61 76 65 | 20 6d 6f 64 65 2e 0a 46 |uto-save| mode..F|
|00006110| 6f 75 72 74 68 20 61 72 | 67 20 41 46 54 45 52 2d |ourth ar|g AFTER-|
|00006120| 46 49 4e 44 2d 46 49 4c | 45 2d 46 52 4f 4d 2d 52 |FIND-FIL|E-FROM-R|
|00006130| 45 56 45 52 54 2d 42 55 | 46 46 45 52 20 6e 6f 6e |EVERT-BU|FFER non|
|00006140| 2d 6e 69 6c 0a 20 6d 65 | 61 6e 73 20 74 68 69 73 |-nil. me|ans this|
|00006150| 20 63 61 6c 6c 20 77 61 | 73 20 66 72 6f 6d 20 60 | call wa|s from `|
|00006160| 72 65 76 65 72 74 2d 62 | 75 66 66 65 72 27 2e 0a |revert-b|uffer'..|
|00006170| 46 69 66 74 68 20 61 72 | 67 20 4e 4f 4d 4f 44 45 |Fifth ar|g NOMODE|
|00006180| 53 20 6e 6f 6e 2d 6e 69 | 6c 20 6d 65 61 6e 73 20 |S non-ni|l means |
|00006190| 64 6f 6e 27 74 20 61 6c | 74 65 72 20 74 68 65 20 |don't al|ter the |
|000061a0| 66 69 6c 65 27 73 20 6d | 6f 64 65 73 2e 0a 46 69 |file's m|odes..Fi|
|000061b0| 6e 69 73 68 65 73 20 62 | 79 20 63 61 6c 6c 69 6e |nishes b|y callin|
|000061c0| 67 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 73 20 |g the fu|nctions |
|000061d0| 69 6e 20 60 66 69 6e 64 | 2d 66 69 6c 65 2d 68 6f |in `find|-file-ho|
|000061e0| 6f 6b 73 27 0a 75 6e 6c | 65 73 73 20 4e 4f 4d 4f |oks'.unl|ess NOMO|
|000061f0| 44 45 53 20 69 73 20 6e | 6f 6e 2d 6e 69 6c 2e 1f |DES is n|on-nil..|
|00006200| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 61 66 74 65 |.(defali|as 'afte|
|00006210| 72 2d 66 69 6e 64 2d 66 | 69 6c 65 20 23 5b 28 26 |r-find-f|ile #[(&|
|00006220| 6f 70 74 69 6f 6e 61 6c | 20 65 72 72 6f 72 20 77 |optional| error w|
|00006230| 61 72 6e 20 6e 6f 61 75 | 74 6f 20 61 66 74 65 72 |arn noau|to after|
|00006240| 2d 66 69 6e 64 2d 66 69 | 6c 65 2d 66 72 6f 6d 2d |-find-fi|le-from-|
|00006250| 72 65 76 65 72 74 2d 62 | 75 66 66 65 72 20 6e 6f |revert-b|uffer no|
|00006260| 6d 6f 64 65 73 29 20 22 | c0 09 21 3f 12 0b 84 9e |modes) "|..!?....|
|00006270| 00 c4 1d 0e 06 83 1c 00 | c7 09 21 83 1c 00 c8 12 |........|..!.....|
|00006280| c9 82 7a 00 5c 6e 84 41 | 00 0e 5c 6e 83 36 00 cb |..z.\n.A|..\n.6..|
|00006290| cc 20 09 5c 22 83 36 00 | cd ce cf 09 21 5c 22 82 |. .\".6.|....!\".|
|000062a0| 7a 00 c8 15 0e 06 85 7a | 00 d0 82 7a 00 0e 06 84 |z......z|...z....|
|000062b0| 4c 00 c8 15 d1 82 7a 00 | c7 d2 0e 13 21 21 83 59 |L.....z.|....!!.Y|
|000062c0| 00 d4 82 7a 00 d5 d6 09 | 21 21 83 67 00 c4 89 12 |...z....|!!.g....|
|000062d0| 82 7a 00 c4 12 d5 d6 d2 | d6 09 21 21 21 21 83 79 |.z......|..!!!!.y|
|000062e0| 00 d7 82 7a 00 d8 89 1e | 19 83 8f 00 da 0e 19 21 |...z....|.......!|
|000062f0| 88 0d 84 8f 00 db dc c4 | c8 23 88 2a 0e 1d 83 9e |........|.#.*....|
|00006300| 00 0e 1e 84 9e 00 df c8 | 21 88 0e 20 3f 85 ab 00 |........|!.. ?...|
|00006310| e1 c8 21 88 e2 e3 21 87 | 22 20 5b 66 69 6c 65 2d |..!...!.|" [file-|
|00006320| 77 72 69 74 61 62 6c 65 | 2d 70 20 62 75 66 66 65 |writable|-p buffe|
|00006330| 72 2d 66 69 6c 65 2d 6e | 61 6d 65 20 62 75 66 66 |r-file-n|ame buff|
|00006340| 65 72 2d 72 65 61 64 2d | 6f 6e 6c 79 20 6e 6f 6e |er-read-|only non|
|00006350| 69 6e 74 65 72 61 63 74 | 69 76 65 20 6e 69 6c 20 |interact|ive nil |
|00006360| 6e 6f 74 2d 73 65 72 69 | 6f 75 73 20 65 72 72 6f |not-seri|ous erro|
|00006370| 72 20 66 69 6c 65 2d 61 | 74 74 72 69 62 75 74 65 |r file-a|ttribute|
|00006380| 73 20 74 20 22 46 69 6c | 65 20 65 78 69 73 74 73 |s t "Fil|e exists|
|00006390| 2c 20 62 75 74 20 63 61 | 6e 6e 6f 74 20 62 65 20 |, but ca|nnot be |
|000063a0| 72 65 61 64 2e 22 20 77 | 61 72 6e 20 66 69 6c 65 |read." w|arn file|
|000063b0| 2d 6e 65 77 65 72 2d 74 | 68 61 6e 2d 66 69 6c 65 |-newer-t|han-file|
|000063c0| 2d 70 20 6d 61 6b 65 2d | 61 75 74 6f 2d 73 61 76 |-p make-|auto-sav|
|000063d0| 65 2d 66 69 6c 65 2d 6e | 61 6d 65 20 66 6f 72 6d |e-file-n|ame form|
|000063e0| 61 74 20 22 25 73 20 68 | 61 73 20 61 75 74 6f 20 |at "%s h|as auto |
|000063f0| 73 61 76 65 20 64 61 74 | 61 3b 20 63 6f 6e 73 69 |save dat|a; consi|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.